summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-03 22:35:34 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-03 22:35:34 +0000
commit439aef41742fa759c26617f86718546dcb3a5957 (patch)
tree115ec7a1f54e9b6f564f3f0234c685731f08e7a6
parent1611f83f3d5d36fe94dba1ad6c5dfbc195c460a4 (diff)
downloaddraklive-439aef41742fa759c26617f86718546dcb3a5957.tar
draklive-439aef41742fa759c26617f86718546dcb3a5957.tar.gz
draklive-439aef41742fa759c26617f86718546dcb3a5957.tar.bz2
draklive-439aef41742fa759c26617f86718546dcb3a5957.tar.xz
draklive-439aef41742fa759c26617f86718546dcb3a5957.zip
move insmod after /proc and /sys are mounted (cosmetics for next commits)
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
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",