summaryrefslogtreecommitdiff
path: root/network/broadcom-sta/doinst.sh
diff options
context:
space:
mode:
authorGreg' Ar Tourter <artourter@gmail.com>2010-05-26 21:11:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-26 23:57:57 -0500
commitabfa84c32278df8a5e18373cd3a3b6a3c2a2702f (patch)
treee10e1cb47c457840e70b901773f33072f8010d14 /network/broadcom-sta/doinst.sh
parente2f42de3fe8e53600c8b41ccadbb17d4fc55586b (diff)
downloadslackbuilds-abfa84c32278df8a5e18373cd3a3b6a3c2a2702f.tar.gz
Revert network/broadcom-sta removal and fix build
This reverts commit 52f92278a45fcd32f9227c3dbab353a9cd50b460 and fixes compilation on 2.6.33.x kernels.
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..267c751196
--- /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 @KERNEL@ 1> /dev/null 2> /dev/null
+fi
+