summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-06-17 15:57:54 +0000
committerJeff Bailey <jbailey@ubuntu.com>2005-06-17 15:57:54 +0000
commit287dcae1407c303ee929d2bff0a49c1e721b05ae (patch)
tree4cd23d9ec83698de2a8e959d648821db770709d7 /scripts
parentbf8d6100fb13127151c309d842185b3a250ecfff (diff)
downloadinitramfs-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/functions2
-rw-r--r--scripts/local-top/md2
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