aboutsummaryrefslogtreecommitdiff
path: root/linux/postinstall
diff options
context:
space:
mode:
Diffstat (limited to 'linux/postinstall')
-rwxr-xr-xlinux/postinstall3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/postinstall b/linux/postinstall
index 4eabef1b..04b6aa2f 100755
--- a/linux/postinstall
+++ b/linux/postinstall
@@ -1,6 +1,7 @@
#!/bin/sh
for i in /lib/modules/*; do
- [ -f $i/modules.dep ] || continue
+ [ -f $i/current ] || continue
depmod ${i##*/}
+ mkinitrd -k ${i##*/} /boot/initrd-linux
done