summaryrefslogtreecommitdiff
path: root/network/broadcom-sta/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-28 23:37:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-28 23:37:47 -0500
commit0dbc3a5839a39591ed966c24433b7827d3e19e15 (patch)
tree3e8a110228ffa26d760a56317774fd7d8187c939 /network/broadcom-sta/doinst.sh
parent74617069734a3c2b73f53bb85c531b7f71878b18 (diff)
downloadslackbuilds-0dbc3a5839a39591ed966c24433b7827d3e19e15.tar.gz
Revert "network/broadcom-sta: Removed (won't build on modern kernels)"
This reverts commit ffc1f1f606279abbe9537fd4108edd289c1625f1. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/broadcom-sta/doinst.sh')
-rw-r--r--network/broadcom-sta/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/broadcom-sta/doinst.sh b/network/broadcom-sta/doinst.sh
new file mode 100644
index 0000000000..99b4a89598
--- /dev/null
+++ b/network/broadcom-sta/doinst.sh
@@ -0,0 +1,5 @@
+# A good idea whenever kernel modules are added or changed:
+if [ -x sbin/depmod ]; then
+ /sbin/depmod -a 1> /dev/null 2> /dev/null
+fi
+