git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e21f0ea
)
contrib/freifunk-policyrouting: Use postinst to enable freifunk-policyrouting
author
Manuel Munz
<redacted>
Tue, 26 Mar 2013 16:48:20 +0000
(16:48 +0000)
committer
Manuel Munz
<redacted>
Tue, 26 Mar 2013 16:48:20 +0000
(16:48 +0000)
contrib/package/freifunk-policyrouting/ipkg/postinst
[new file with mode: 0755]
patch
|
blob
diff --git a/contrib/package/freifunk-policyrouting/ipkg/postinst
b/contrib/package/freifunk-policyrouting/ipkg/postinst
new file mode 100755
(executable)
index 0000000..
9dc2874
--- /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
+}
git clone https://git.99rst.org/PROJECT