#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/luci_splash enable
-
- exit 0
+ /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
-
- exit 0
+ /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
-
- exit 0
+ /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable
}
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/lucittpd enable
- /etc/init.d/lucittpd start
+ /etc/init.d/lucittpd enabled || /etc/init.d/lucittpd enable
+ /etc/init.d/lucittpd start || true
}
#!/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
}