mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 16:54:36 +04:00
* luci-0.8: backport init and ucitrack fixes
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,11 +31,13 @@ config 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
|
||||||
|
|||||||
Reference in New Issue
Block a user