git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff8e20
)
for backward compatibility, write a list of loaded modules to /tmp
author
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 22:40:09 +0000
(22:40 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 22:40:09 +0000
(22:40 +0000)
conf_files/pl_hwinit
patch
|
blob
|
history
diff --git
a/conf_files/pl_hwinit
b/conf_files/pl_hwinit
index
7b05290
..
9bf3f1f
100755
(executable)
--- a/
conf_files/pl_hwinit
+++ b/
conf_files/pl_hwinit
@@
-2,8
+2,12
@@
pci_table=/etc/pl_pcitable
+loaded_module_list=/tmp/loadedmodules
+
echo "pl_hwinit: loading applicable modules"
+echo > $loaded_module_list
+
# this will contain lines of device_id:vendor_id (no 0x)
system_devices=$(lspci -n | cut -d " " -f4)
@@
-23,6
+27,7
@@
for device in $system_devices; do
if [ -n "$module" ]; then
echo "pl_hwinit: found and loading module $module"
/sbin/modprobe $module
+ echo $module >> $loaded_module_list
fi
done
done