diff options
author | Dirk von Suchodoletz | 2006-02-17 00:34:24 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-02-17 00:34:24 +0100 |
commit | 03482e6daed95a62940aa5e6e6eef0e0ea90eaa3 (patch) | |
tree | 61215b6e396c271490bb35fca7e658384f743447 /initrd/initrd-stuff/init | |
parent | going on with ld4-install (diff) | |
download | core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.tar.gz core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.tar.xz core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.zip |
postinit function added (e.g. for running udevstart again)
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@78 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-x | initrd/initrd-stuff/init | 7 |
1 files changed, 4 insertions, 3 deletions
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 |