From 439aef41742fa759c26617f86718546dcb3a5957 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 3 Oct 2007 22:35:34 +0000 Subject: move insmod after /proc and /sys are mounted (cosmetics for next commits) --- draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draklive b/draklive index 75a7635..b2df2df 100755 --- a/draklive +++ b/draklive @@ -524,11 +524,11 @@ sub create_initrd_scriptlet { output_with_perm(get_builddir($live) . $live->{prefix}{build}{initrd} . '/' . $media->{storage} . '/linuxrc', 0755, join("\n", "#!/bin/nash", - (map { join(" ", "insmod", "/lib/$_.ko", grep { $_ } $live->{system}{module_options}{$_}) } @modules), #- required for labels and ps "mount -t proc none /proc", #- required for cdrom labels "mount -t sysfs none /sys", + (map { join(" ", "insmod", "/lib/$_.ko", grep { $_ } $live->{system}{module_options}{$_}) } @modules), if_(member('usb-storage', @modules), #- wait some seconds for the usb-stor-scan process to be run "sleep 2", -- cgit v1.2.1