diff options
Diffstat (limited to 'contrib/package/freifunk-policyrouting/Makefile')
-rw-r--r-- | contrib/package/freifunk-policyrouting/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/package/freifunk-policyrouting/Makefile b/contrib/package/freifunk-policyrouting/Makefile index cec08a2f34..01a859ad2a 100644 --- 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)) |