summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 2 insertions, 0 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