diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-03-26 16:48:20 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-03-26 16:48:20 +0000 |
commit | c86bbfe3963e586c36cb3a5131c819d618c27e7b (patch) | |
tree | e4aba4562a68753ebb6af772e278f7366edc9d0f /contrib/package/freifunk-policyrouting | |
parent | e21f0eaca99a39c693c024c7e3d1dd051bda35b0 (diff) |
contrib/freifunk-policyrouting: Use postinst to enable freifunk-policyrouting
Diffstat (limited to 'contrib/package/freifunk-policyrouting')
-rwxr-xr-x | contrib/package/freifunk-policyrouting/ipkg/postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/package/freifunk-policyrouting/ipkg/postinst b/contrib/package/freifunk-policyrouting/ipkg/postinst new file mode 100755 index 000000000..9dc28744a --- /dev/null +++ b/contrib/package/freifunk-policyrouting/ipkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +[ -n "${IPKG_INSTROOT}" ] || { + /etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable + exit 0 +} |