diff options
author | Roy Marples <roy@marples.name> | 2007-10-29 13:58:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-29 13:58:40 +0000 |
commit | 8c85fa399fa1ed6ac3e402ef557fcd44d1787859 (patch) | |
tree | ac7a69445e23590e2d9cc4ef2e5140c1821aeede /init.d | |
parent | e2ba92f77362097621c977e0e46d4c3e6a509c37 (diff) |
Do an exact match on tmpfs
Diffstat (limited to 'init.d')
-rwxr-xr-x | init.d/checkroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/checkroot b/init.d/checkroot index eadb65c9..f7dc16bb 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -17,7 +17,7 @@ do_mtab() { # makes / readonly and dismounts all tmpfs even if in use which is # not good. Luckily, umount uses /etc/mtab instead of /proc/mounts # which allows this hack to work. - grep -v "^[^ ]* / tmpfs" /proc/mounts > /etc/mtab + grep -v "^[^ ]* / tmpfs " /proc/mounts > /etc/mtab # Remove stale backups rm -f /etc/mtab~ /etc/mtab~~ |