diff options
author | Dirk von Suchodoletz | 2006-01-30 02:24:35 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-01-30 02:24:35 +0100 |
commit | 420ca89d7d39bdbf94d90480e2f9bc840e3e0c92 (patch) | |
tree | 1cc6c6670241cb2a7259cb92be0ee1925fca52a3 /initrd/initrd-stuff/init | |
parent | Some minor bugfixes and cleanups ... (diff) | |
download | core-420ca89d7d39bdbf94d90480e2f9bc840e3e0c92.tar.gz core-420ca89d7d39bdbf94d90480e2f9bc840e3e0c92.tar.xz core-420ca89d7d39bdbf94d90480e2f9bc840e3e0c92.zip |
Improved timings for hardware configuration. On slower machines module
loading takes some time (more) ...
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@49 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-x | initrd/initrd-stuff/init | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 985253b7..94cb78ec 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -387,8 +387,10 @@ and list the modules loaded until\n now." # should be killed if started within init killall -9 dhcpcd dhclient pump udevd 2>/dev/null # unmount the bind mounted modules directory -umount -n /lib/modules/${KERNEL} || error "Unmount of the kernel \ -modules directory failed for some reason." +umount -n /lib/modules/${KERNEL} || { + usleep 40 && umount -n /lib/modules/${KERNEL} || \ + error "Unmount of the kernel modules directory failed for some reason." +} # close runlevel script for stuff to execute during early bootup d_mkbootld close # check for inittab file |