X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=scripts%2Frc.sysinit;h=3fc5fbd00681b88e73350ace8902dbcd6845cb41;hb=223c3a647b3a6e41f788c2323c067a581c3bc1dd;hp=20575e4bdc21bd53f534308c6b4bde40084a4e04;hpb=5b4b5f1657c757acda955214d5d1218c06119f44;p=startuptools diff --git a/scripts/rc.sysinit b/scripts/rc.sysinit index 20575e4..3fc5fbd 100644 --- a/scripts/rc.sysinit +++ b/scripts/rc.sysinit @@ -61,11 +61,25 @@ status_begin loading sysctl.conf sysctl -q -p status_check +# * fsck and mount filesystems + +#status_starting fsck of / +#mount -o remount,ro / +#fsck -A -T +# TODO actually check the return value +status_begin remounting root filesystem rw +mount -o remount,rw / +status_check + +status_begin running depmod +depmod +status_check # set up /dev -if [ -x /sbin/mdev ] && [ ! is_true "$USE_UDEVD" ]; then - status_starting setting up mdev +if [ -x /sbin/mdev ] && ! is_true "$USE_UDEV" ; then + status_begin setting up mdev + echo > /dev/mdev.seq echo /sbin/mdev > /proc/sys/kernel/hotplug /sbin/mdev -s status_check @@ -114,15 +128,6 @@ fi swapon -a -# * fsck and mount filesystems - -#status_starting fsck of / -#mount -o remount,ro / -#fsck -A -T -# TODO actually check the return value -status_begin remounting root filesystem rw -mount -o remount,rw / -status_check # mount any remaining filesystems status_begin mounting remaining filesystems