From: Manuel Munz Date: Tue, 26 Mar 2013 16:48:20 +0000 (+0000) Subject: contrib/freifunk-policyrouting: Use postinst to enable freifunk-policyrouting X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c86bbfe3963e586c36cb3a5131c819d618c27e7b;p=oweals%2Fluci.git contrib/freifunk-policyrouting: Use postinst to enable freifunk-policyrouting --- 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 +}