diff options
Diffstat (limited to 'initrd/initrd-stuff')
| -rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 3 | ||||
| -rwxr-xr-x | initrd/initrd-stuff/init | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index a0bbb027..29cf98b8 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -437,8 +437,5 @@ echo -e "\tloadkeys -q ${KEYTABLE}\n" >>/mnt/etc/${D_INITDIR}/boot.ld configuration file generated by hwsetup could not\n be found." nonfatal displaysetup ${D_XF86CONFFILE} -# suse 9.3: because the detected devices nodes are stored and lost, initialize them again! -# udevstart - echo "finished" > /tmp/hwcfg diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 77ff0212..b1858d72 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -397,17 +397,18 @@ d_mkbootld close # IP configuration is made and should not be updated automatically, udevd # should be killed if started within init killall -9 dhcpcd dhclient pump 2>/dev/null -# unmount the bind mounted modules directory #bash +# post init for some distro specific +postinit + +# unmount the bind mounted modules directory for i in 0 40 100 200 300 500 800 1000 1200; do usleep $i && umount -n /lib/modules/${KERNEL} 2>/dev/null && break error " Waited $i ticks to unmount kernel module directory ..." nonfatal done - - [ $i -gt 1000 ] && error " Unmount of the kernel modules directory \ failed for some reason. Some\n modprobe still active!?" # check for inittab file |
