Improved reloading system, fixed a bug with saving network settings
[project/luci.git] / libs / web / root / etc / config / luci
index 560cff4..76375ea 100644 (file)
@@ -1,5 +1,5 @@
 config core main
-       option lang de
+       option lang en
        option mediaurlbase /luci-static/openwrt.org
        option resourcebase /luci-static/resources
        
@@ -19,21 +19,28 @@ config extern flash_keep
        option firewall "/etc/firewall.user"
 
 config event uci_oncommit
-       option network  "/etc/init.d/network restart"
-       option wireless "/etc/init.d/network restart"
-       option olsr     "/etc/init.d/olsrd restart"
-       option dhcp     "/etc/init.d/dnsmasq restart"
-       option luci_fw  "/etc/init.d/luci_fw 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_splash "/etc/init.d/luci_splash restart"
-       option freifunk "/etc/init.d/luci_freifunk 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"
        option en "English"
+       option fr "Français"
+       
+config internal sauth
+       option sessionpath "/tmp/.lucisessions"
+       option sessiontime 3600
        
 config internal template
        option compiler_mode file
@@ -41,4 +48,3 @@ config internal template
                
 config internal themes
        option OpenWRT "/luci-static/openwrt.org"
-       option Fledermaus "/luci-static/fledermaus"