diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-03-27 09:14:54 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-03-27 09:14:54 +0000 |
commit | 52eee5e701fb54e1f3764aa7747dd474eeaf0edd (patch) | |
tree | ccc876bcc563c788564d3d013cf33ec433b13b5a /contrib/package/freifunk-policyrouting/Makefile | |
parent | c86bbfe3963e586c36cb3a5131c819d618c27e7b (diff) |
contrib/freifunk-policyrouting: Fix autoenable, again.
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)) |