summaryrefslogtreecommitdiffhomepage
path: root/libs/web/root/etc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-19 14:18:03 +0000
committerSteven Barth <steven@midlink.org>2008-07-19 14:18:03 +0000
commit3da2286b3dd7c48a3bb8866f229a00d862505625 (patch)
tree1a4509b121f88c309d3cf91222d74c333a8539e5 /libs/web/root/etc
parente8191406f8ae291647b564d1d2b3c69fbcd224ab (diff)
Improved reloading system, fixed a bug with saving network settings
Diffstat (limited to 'libs/web/root/etc')
-rw-r--r--libs/web/root/etc/config/luci27
1 files changed, 13 insertions, 14 deletions
diff --git a/libs/web/root/etc/config/luci b/libs/web/root/etc/config/luci
index f12cdf0ba0..76375eafea 100644
--- a/libs/web/root/etc/config/luci
+++ b/libs/web/root/etc/config/luci
@@ -19,20 +19,19 @@ config extern flash_keep
option firewall "/etc/firewall.user"
config event uci_oncommit
- option network "/etc/init.d/network restart; /etc/init.d/dnsmasq restart"
- option wireless "/etc/init.d/network restart"
- option olsr "/etc/init.d/olsrd restart"
- option dhcp "/etc/init.d/dnsmasq restart"
- option dropbear "/etc/init.d/dropbear restart"
- option httpd "/etc/init.d/httpd restart"
- option fstab "/etc/init.d/fstab restart"
- option qos "/etc/init.d/qos restart"
- option luci_fw "/etc/init.d/luci_fw restart"
- option luci_ethers "/etc/init.d/luci_ethers restart; /etc/init.d/dnsmasq restart"
- option luci_splash "/etc/init.d/luci_splash restart"
- option freifunk "/etc/init.d/luci_freifunk restart"
- option upnpd "/etc/init.d/miniupnpd enabled && /etc/init.d/miniupnpd restart || /etc/init.d/miniupnpd stop"
- option ntpclient "/etc/init.d/ntpclient restart"
+ option network "/sbin/luci-reload network firewall luci_fw dnsmasq"
+ option wireless "/sbin/luci-reload network firewall luci_fw dnsmasq"
+ option olsr "/sbin/luci-reload olsrd"
+ option dhcp "/sbin/luci-reload dnsmasq"
+ option dropbear "/sbin/luci-reload dropbear"
+ option httpd "/sbin/luci-reload httpd"
+ option fstab "/sbin/luci-reload fstab"
+ option qos "/sbin/luci-reload qos"
+ option luci_fw "/sbin/luci-reload luci_fw"
+ option luci_ethers "/sbin/luci-reload luci_ethers dnsmasq"
+ option luci_splash "/sbin/luci-reload luci_splash"
+ option upnpd "/etc/init.d/miniupnpd enabled && /sbin/luci-reload miniupnpd || /etc/init.d/miniupnpd stop"
+ option ntpclient "/sbin/luci-reload ntpclient"
config internal languages
option de "Deutsch"