#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/luci_splash enable
+ /etc/init.d/luci_splash enabled || /etc/init.d/luci_splash enable
}
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics
- /etc/init.d/luci_statistics enable
- /etc/init.d/collectd enable
+ /etc/init.d/luci_statistics enabled || /etc/init.d/luci_statistics enable
+ /etc/init.d/collectd enabled || /etc/init.d/collectd enable
}
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/olsrd enable
+ /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable
}
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/luci_fixtime enable
- /etc/init.d/luci_ethers enable
- /etc/init.d/luci_hosts enable
+ /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
}