From 420ca89d7d39bdbf94d90480e2f9bc840e3e0c92 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 30 Jan 2006 01:24:35 +0000 Subject: 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 --- initrd/initrd-stuff/init | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'initrd/initrd-stuff/init') 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 -- cgit v1.2.3-55-g7522