diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-09 00:03:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-09 00:03:08 +0000 |
commit | f7a3e34955fdcf9678fd0a5e18c8b06b6fc6b244 (patch) | |
tree | bfd1eb5781003110187545a1ea57d849fe0eb987 /modules/admin-core/ipkg | |
parent | 08fc73b8a6bb87c4094188fb60ebaed88c82d4c7 (diff) |
prevent package upgrade failures caused by sloppy postinstalls
Diffstat (limited to 'modules/admin-core/ipkg')
-rwxr-xr-x | modules/admin-core/ipkg/postinst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/admin-core/ipkg/postinst b/modules/admin-core/ipkg/postinst index a849819c6c..b0293a71bb 100755 --- a/modules/admin-core/ipkg/postinst +++ b/modules/admin-core/ipkg/postinst @@ -1,9 +1,7 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - /etc/init.d/luci_fixtime enable - /etc/init.d/luci_ethers enable - /etc/init.d/luci_hosts enable - - exit 0 + /etc/init.d/luci_fixtime enabled || /etc/init.d/luci_fixtime enable + /etc/init.d/luci_ethers enabled || /etc/init.d/luci_ethers enable + /etc/init.d/luci_hosts enabled || /etc/init.d/luci_hosts enable } |