summaryrefslogtreecommitdiff
path: root/package/base-files/src/init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-16 00:06:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-16 00:06:14 +0100
commite675191cfaa9c388e8360b56cff12f6e7e702e18 (patch)
tree2a2c3ec0db3a74815c10de30911593d681c2378d /package/base-files/src/init
parent156edaba0e7190ec7fe8e7f68a2b9f5f41fb2467 (diff)
enable automatic filesystem checks for devices/partitions in /etc/fstab
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-xpackage/base-files/src/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init
index e290cee95..af780c324 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -19,5 +19,5 @@ mdev -s
mount -o remount,rw /
cat /etc/.rnd >/dev/urandom 2>&1
[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;}
-[ -f /etc/fstab ] && mount -a
+[ -f /etc/fstab ] && fsck -p >/dev/null ; mount -a
exec /sbin/init