* luci-0.8: backport init and ucitrack fixes

This commit is contained in:
Jo-Philipp Wich 2008-09-14 23:59:28 +00:00
parent 379ec16b1e
commit f2a70398f2
3 changed files with 25 additions and 15 deletions

View file

@ -24,8 +24,12 @@ start() {
config_foreach apply_lease static_lease config_foreach apply_lease static_lease
test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers
return 0
} }
stop() { stop() {
test -f /var/etc/ethers && rm -f /var/etc/ethers test -f /var/etc/ethers && rm -f /var/etc/ethers
return 0
} }

View file

@ -23,8 +23,12 @@ start() {
config_load luci_hosts config_load luci_hosts
config_foreach apply_host host config_foreach apply_host host
return 0
} }
stop() { stop() {
test -f /var/etc/hosts && rm -f /var/etc/hosts test -f /var/etc/hosts && rm -f /var/etc/hosts
return 0
} }

View file

@ -1,50 +1,52 @@
config network config network
option init network option init network
list affects dhcp list affects dhcp
config wireless config wireless
list affects network list affects network
config firewall config firewall
option init firewall option init firewall
list affects luci-splash list affects luci-splash
list affects qos list affects qos
config olsr config olsr
option init olsrd option init olsrd
config dhcp config dhcp
option init dnsmasq option init dnsmasq
config dropbear config dropbear
option init dropbear option init dropbear
config httpd config httpd
option init httpd option init httpd
config fstab config fstab
option init fstab option init fstab
config qos config qos
option init qos option init qos
config system config system
option init led option init led
config luci_ethers
option init luci_ethers
config luci_hosts config luci_hosts
option init luci_hosts option init luci_hosts
list affects dhcp
config luci_ethers
option init luci_ethers
list affects dhcp
config luci_splash config luci_splash
option init luci_splash option init luci_splash
config upnpd config upnpd
option init miniupnpd option init miniupnpd
config ntpclient config ntpclient
option init ntpclient option init ntpclient
config samba config samba
option init samba option init samba