summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-03-26 16:48:20 +0000
committerManuel Munz <freifunk@somakoma.de>2013-03-26 16:48:20 +0000
commitc86bbfe3963e586c36cb3a5131c819d618c27e7b (patch)
treee4aba4562a68753ebb6af772e278f7366edc9d0f /contrib
parente21f0eaca99a39c693c024c7e3d1dd051bda35b0 (diff)
contrib/freifunk-policyrouting: Use postinst to enable freifunk-policyrouting
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/package/freifunk-policyrouting/ipkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/package/freifunk-policyrouting/ipkg/postinst b/contrib/package/freifunk-policyrouting/ipkg/postinst
new file mode 100755
index 000000000..9dc28744a
--- /dev/null
+++ b/contrib/package/freifunk-policyrouting/ipkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -n "${IPKG_INSTROOT}" ] || {
+ /etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
+ exit 0
+}