summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-29 13:58:40 +0000
committerRoy Marples <roy@marples.name>2007-10-29 13:58:40 +0000
commit8c85fa399fa1ed6ac3e402ef557fcd44d1787859 (patch)
treeac7a69445e23590e2d9cc4ef2e5140c1821aeede /init.d
parente2ba92f77362097621c977e0e46d4c3e6a509c37 (diff)
downloadopenrc-8c85fa399fa1ed6ac3e402ef557fcd44d1787859.tar.gz
openrc-8c85fa399fa1ed6ac3e402ef557fcd44d1787859.tar.bz2
openrc-8c85fa399fa1ed6ac3e402ef557fcd44d1787859.tar.xz
Do an exact match on tmpfs
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/checkroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/checkroot b/init.d/checkroot
index eadb65c..f7dc16b 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~~