summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-modules
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-modules')
-rw-r--r--autoscripts/postrm-modules3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules
new file mode 100644
index 0000000..c2577dd
--- /dev/null
+++ b/autoscripts/postrm-modules
@@ -0,0 +1,3 @@
+if [ -e /boot/System.map-#KVERS# ]; then
+ depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
+fi