mirror of
https://github.com/openwrt/luci.git
synced 2026-01-09 22:51:01 +04:00
contrib/freifunk-policyrouting: Fix autoenable, again.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user