summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-09-27 16:35:04 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2008-10-29 22:45:27 -0200
commitfb43a0277a1472dbbdea175cee1789b25c072a5f (patch)
treed38cd341529d27e239fe3fc48bc297cf00d1ba41 /packages/initscripts/initscripts-1.0
parentd569e2df3c9e2d97396f462b4e3789531ea3ef8b (diff)
initscripts: do /proc remount instead of mounting it
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh
index 5c1e5c6ebb..e5aa9aaf99 100755
--- a/packages/initscripts/initscripts-1.0/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/checkroot.sh
@@ -208,7 +208,7 @@ then
: > /etc/mtab
fi
mount -f -o remount /
- mount -f /proc
+ mount -f -o remount /proc
test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
fi