projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c86bbfe
)
contrib/freifunk-policyrouting: Fix autoenable, again.
author
Manuel Munz
<freifunk@somakoma.de>
Wed, 27 Mar 2013 09:14:54 +0000
(09:14 +0000)
committer
Manuel Munz
<freifunk@somakoma.de>
Wed, 27 Mar 2013 09:14:54 +0000
(09:14 +0000)
contrib/package/freifunk-policyrouting/Makefile
patch
|
blob
|
history
contrib/package/freifunk-policyrouting/files/etc/rc.d/S15-freifunk-policyrouting
[new symlink]
patch
|
blob
contrib/package/freifunk-policyrouting/ipkg/postinst
[deleted file]
patch
|
blob
|
history
diff --git
a/contrib/package/freifunk-policyrouting/Makefile
b/contrib/package/freifunk-policyrouting/Makefile
index cec08a2f341d54baa7e3430faad3e3ad499002b7..01a859ad2a498dac58ff289daa1d1fbb6f1f447f 100644
(file)
--- a/
contrib/package/freifunk-policyrouting/Makefile
+++ b/
contrib/package/freifunk-policyrouting/Makefile
@@
-36,4
+36,12
@@
define Package/freifunk-policyrouting/install
$(CP) ./files/* $(1)/
endef
+define Package/freifunk-policyrouting/postinst
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ /etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
+ exit 0
+}
+endef
+
$(eval $(call BuildPackage,freifunk-policyrouting))
diff --git a/contrib/package/freifunk-policyrouting/files/etc/rc.d/S15-freifunk-policyrouting
b/contrib/package/freifunk-policyrouting/files/etc/rc.d/S15-freifunk-policyrouting
new file mode 120000
(symlink)
index 0000000..
3c3dad8
--- /dev/null
+++ b/
contrib/package/freifunk-policyrouting/files/etc/rc.d/S15-freifunk-policyrouting
@@ -0,0
+1
@@
+../init.d/freifunk-policyrouting
\ No newline at end of file
diff --git
a/contrib/package/freifunk-policyrouting/ipkg/postinst
b/contrib/package/freifunk-policyrouting/ipkg/postinst
deleted file mode 100755
(executable)
index
9dc2874
..0000000
--- a/
contrib/package/freifunk-policyrouting/ipkg/postinst
+++ /dev/null
@@
-1,6
+0,0 @@
-#!/bin/sh
-
-[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
- exit 0
-}