summaryrefslogtreecommitdiffstats
path: root/network/ipset/doinst.sh
diff options
context:
space:
mode:
author Michal Bialozor <bialyy@o2.pl>2011-09-02 08:20:04 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2011-09-02 08:20:04 -0300
commit52815a09ea1bc0dd8f54629230935c71c06df1c9 (patch)
tree04d0d34168533b926986ab09c04ff17fc6daf852 /network/ipset/doinst.sh
parentee45fabaff7cd3c24e049488c1bb14e8db5b4fb7 (diff)
downloadslackbuilds-52815a09ea1bc0dd8f54629230935c71c06df1c9.tar.gz
slackbuilds-52815a09ea1bc0dd8f54629230935c71c06df1c9.tar.xz
network/ipset: Added (administration tool for IP sets)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/ipset/doinst.sh')
-rw-r--r--network/ipset/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/ipset/doinst.sh b/network/ipset/doinst.sh
new file mode 100644
index 0000000000..94e10a8cc4
--- /dev/null
+++ b/network/ipset/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>&1
+fi