From 7651fd78f055c0f6373027d5dae1f2ce9e8db4c3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Nov 2008 22:06:27 +0000 Subject: * luci: fix postinstall scripts --- contrib/package/olsrd-luci/ipkg/postinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/package') diff --git a/contrib/package/olsrd-luci/ipkg/postinst b/contrib/package/olsrd-luci/ipkg/postinst index 71986fe93..288d7e40d 100755 --- a/contrib/package/olsrd-luci/ipkg/postinst +++ b/contrib/package/olsrd-luci/ipkg/postinst @@ -1,3 +1,5 @@ #!/bin/sh -/etc/init.d/olsrd enable +[ -n "${IPKG_INSTROOT}" ] || { + /etc/init.d/olsrd enable +} -- cgit v1.2.3