libs/web: use C templates by default
[project/luci.git] / libs / web / root / etc / config / luci
index 43c484a8fd793bde47f32ef6f14c0fe4a0a9d053..a42bac39078a07b74342e208bb68c8995181e747 100644 (file)
@@ -1,47 +1,28 @@
 config core main
-       option lang en
+       option lang auto
        option mediaurlbase /luci-static/openwrt.org
        option resourcebase /luci-static/resources
        
-config core brand
-       option title    "OpenWRT Kamikaze"
-       option subtitle "Lua Configuration Interface"
-       option firmware "OpenWRT Kamikaze"
-       option distro   "Development Snapshot"
-               
 config extern flash_keep
-       option uci      "/etc/config"
-       option dropbear "/etc/dropbear"
-       option openvpn  "/etc/openvpn"
+       option uci              "/etc/config/"
+       option dropbear "/etc/dropbear/"
+       option openvpn  "/etc/openvpn/"
        option passwd   "/etc/passwd"
-       option ipkg     "/etc/ipkg.conf"
-       option httpd    "/etc/httpd.conf"
+       option opkg             "/etc/opkg.conf"
        option firewall "/etc/firewall.user"
-
-config event uci_oncommit
-       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"
-
+       option uploads  "/lib/uci/upload/"
+       
 config internal languages
        
 config internal sauth
-       option sessionpath "/tmp/.lucisessions"
+       option sessionpath "/tmp/luci-sessions"
        option sessiontime 3600
        
+config internal ccache
+       option enable 1
+
 config internal template
-       option compiler_mode file
-       option compiledir "/tmp/.lucitplcache"
+       option compiler_mode memory
+       option compiledir "/tmp/luci-templatecache"
                
 config internal themes
-       option OpenWRT "/luci-static/openwrt.org"