summaryrefslogtreecommitdiffstats
path: root/system/tp_smapi/doinst.sh
diff options
context:
space:
mode:
author Antonio Hernández Blas2011-05-10 18:02:51 +0200
committer Robby Workman2011-05-10 18:02:51 +0200
commita2ecab12c1ff62b13b456198191d8e315e4e88e3 (patch)
treec258b6f435ce60b2c0f1af62b6f5aa1f40aefb22 /system/tp_smapi/doinst.sh
parent854968f642c9363b03bc429d9479849d5a5b1f18 (diff)
downloadslackbuilds-a2ecab12c1ff62b13b456198191d8e315e4e88e3.tar.gz
system/tp_smapi: Added (SMAPI BIOS access for ThinkPad Laptops)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/tp_smapi/doinst.sh')
-rw-r--r--system/tp_smapi/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/tp_smapi/doinst.sh b/system/tp_smapi/doinst.sh
new file mode 100644
index 0000000000..6510094161
--- /dev/null
+++ b/system/tp_smapi/doinst.sh
@@ -0,0 +1,4 @@
+# Re-generate modules.dep and map files.
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a @KERNEL@ 1> /dev/null 2> /dev/null
+fi