From: Jo-Philipp Wich Date: Sun, 14 Sep 2008 23:59:28 +0000 (+0000) Subject: * luci-0.8: backport init and ucitrack fixes X-Git-Tag: 0.8.0~81 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=f2a70398f2956e204db1dc203ab20adffc29aadd;p=project%2Fluci.git * luci-0.8: backport init and ucitrack fixes --- diff --git a/contrib/package/luci-addons/dist/etc/init.d/luci_ethers b/contrib/package/luci-addons/dist/etc/init.d/luci_ethers index c3f56042e..8cf46729d 100644 --- a/contrib/package/luci-addons/dist/etc/init.d/luci_ethers +++ b/contrib/package/luci-addons/dist/etc/init.d/luci_ethers @@ -24,8 +24,12 @@ start() { config_foreach apply_lease static_lease test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers + + return 0 } stop() { test -f /var/etc/ethers && rm -f /var/etc/ethers + + return 0 } diff --git a/contrib/package/luci-addons/dist/etc/init.d/luci_hosts b/contrib/package/luci-addons/dist/etc/init.d/luci_hosts index 42ccff471..d01bfbbd5 100644 --- a/contrib/package/luci-addons/dist/etc/init.d/luci_hosts +++ b/contrib/package/luci-addons/dist/etc/init.d/luci_hosts @@ -23,8 +23,12 @@ start() { config_load luci_hosts config_foreach apply_host host + + return 0 } stop() { test -f /var/etc/hosts && rm -f /var/etc/hosts + + return 0 } diff --git a/libs/uci/root/etc/config/ucitrack b/libs/uci/root/etc/config/ucitrack index fbc0a240a..0349f81c8 100644 --- a/libs/uci/root/etc/config/ucitrack +++ b/libs/uci/root/etc/config/ucitrack @@ -1,50 +1,52 @@ config network option init network list affects dhcp - + config wireless list affects network - + config firewall option init firewall list affects luci-splash list affects qos - + config olsr option init olsrd config dhcp option init dnsmasq - + config dropbear option init dropbear - + config httpd option init httpd - + config fstab option init fstab - + config qos option init qos - + config system option init led - -config luci_ethers - option init luci_ethers config luci_hosts option init luci_hosts - + list affects dhcp + +config luci_ethers + option init luci_ethers + list affects dhcp + config luci_splash option init luci_splash - + config upnpd option init miniupnpd - + config ntpclient option init ntpclient - + config samba option init samba