contrib/freifunk-policyrouting: Fix autoenable, again.

This commit is contained in:
Manuel Munz 2013-03-27 09:14:54 +00:00
parent c86bbfe396
commit 52eee5e701
3 changed files with 9 additions and 6 deletions

View file

@ -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))

View file

@ -0,0 +1 @@
../init.d/freifunk-policyrouting

View file

@ -1,6 +0,0 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
/etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
exit 0
}