diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-05 22:07:44 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-05 22:07:44 +0000 |
| commit | e77637b96ead2cfa7d0adec858b0df5effade0e0 (patch) | |
| tree | 8e3221faac3846edb86ef9c48604eaa26b00cf26 /modules/admin-core | |
| parent | 4dfa176aad01284a74c8fb8684b672a9c3321e23 (diff) | |
* luci-0.8: merge r3718
Diffstat (limited to 'modules/admin-core')
| -rwxr-xr-x | modules/admin-core/ipkg/postinst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/admin-core/ipkg/postinst b/modules/admin-core/ipkg/postinst index c2f3b5f184..90138ae76b 100755 --- a/modules/admin-core/ipkg/postinst +++ b/modules/admin-core/ipkg/postinst @@ -1,6 +1,7 @@ #!/bin/sh -/etc/init.d/luci_fixtime enable -/etc/init.d/luci_ethers enable -/etc/init.d/luci_hosts enable - +[ -n "${IPKG_INSTROOT}" ] || { + /etc/init.d/luci_fixtime enable + /etc/init.d/luci_ethers enable + /etc/init.d/luci_hosts enable +} |
