summaryrefslogtreecommitdiff
path: root/package/shorewall-common/ipkg/shorewall-common.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/shorewall-common/ipkg/shorewall-common.postinst')
-rw-r--r--package/shorewall-common/ipkg/shorewall-common.postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/shorewall-common/ipkg/shorewall-common.postinst b/package/shorewall-common/ipkg/shorewall-common.postinst
new file mode 100644
index 000000000..bade6304b
--- /dev/null
+++ b/package/shorewall-common/ipkg/shorewall-common.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf shorewall
+
+mkdir -p $IPKG_INSTROOT/usr/share/shorewall/runtime
+chmod 0700 $IPKG_INSTROOT/usr/share/shorewall/runtime