aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/checkroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/checkroot b/init.d/checkroot
index 087e2c97..959ca0b3 100755
--- a/init.d/checkroot
+++ b/init.d/checkroot
@@ -131,7 +131,7 @@ start() {
fi
# Only Linux has mtab
- [ "${RC_UNAME}" = "Linux" ] && do_mtab
+ [ "${RC_UNAME}" = "Linux" -a -e /proc/mounts ] && do_mtab
# If the user's /dev/null or /dev/console are missing, we
# should help them out and explain how to rectify the situation