contrib/freifunk-policyrouting: Fix autoenable, again.
This commit is contained in:
parent
c86bbfe396
commit
52eee5e701
3 changed files with 9 additions and 6 deletions
|
@ -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))
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../init.d/freifunk-policyrouting
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
/etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
|
||||
exit 0
|
||||
}
|
Loading…
Reference in a new issue