* luci: fix postinstall scripts

This commit is contained in:
Jo-Philipp Wich 2008-11-05 22:06:27 +00:00
parent 9f28871ffc
commit 7651fd78f0
4 changed files with 14 additions and 9 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh
/etc/init.d/luci_splash enable
[ -n "${IPKG_INSTROOT}" ] || {
/etc/init.d/luci_splash enable
}

View file

@ -1,7 +1,7 @@
#!/bin/sh
[ -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 enable
/etc/init.d/collectd enable
}

View file

@ -1,3 +1,5 @@
#!/bin/sh
/etc/init.d/olsrd enable
[ -n "${IPKG_INSTROOT}" ] || {
/etc/init.d/olsrd enable
}

View file

@ -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
}