diff options
author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-17 15:57:54 +0000 |
---|---|---|
committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-17 15:57:54 +0000 |
commit | 287dcae1407c303ee929d2bff0a49c1e721b05ae (patch) | |
tree | 4cd23d9ec83698de2a8e959d648821db770709d7 /scripts | |
parent | bf8d6100fb13127151c309d842185b3a250ecfff (diff) | |
download | initramfs-tools-287dcae1407c303ee929d2bff0a49c1e721b05ae.tar.gz initramfs-tools-287dcae1407c303ee929d2bff0a49c1e721b05ae.zip |
Use /sbin, do depmod at boot time, copy all the interesting hardware drivers onto the initramfs
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 2 | ||||
-rw-r--r-- | scripts/local-top/md | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 7e8c725..d5d1035 100644 --- a/scripts/functions +++ b/scripts/functions @@ -108,6 +108,8 @@ run_scripts() load_modules() { + depmod + for x in /sys/bus/pci/devices/*; do modprobe -q $(cat ${x}/modalias) done diff --git a/scripts/local-top/md b/scripts/local-top/md index d6f7e94..864ffe4 100644 --- a/scripts/local-top/md +++ b/scripts/local-top/md @@ -15,4 +15,4 @@ prereqs) ;; esac -/bin/mdrun /dev +/sbin/mdrun /dev |