diff options
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-x | package/base-files/src/init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init index e290cee95..fc4ec8cb9 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -16,8 +16,7 @@ exec 0<>/dev/console >&0 2>&0 echo >/dev/mdev.seq echo "/sbin/mdev" >/proc/sys/kernel/hotplug 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 +[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;} || mount -o remount,rw / +[ -f /etc/fstab ] && fsck -p >/dev/null ; mount -a exec /sbin/init |