summaryrefslogtreecommitdiff
path: root/network/ipset/doinst.sh
diff options
context:
space:
mode:
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