Add uhttpd configuration for lua handler; add interface to get/set 'system settings'; add configurable logging to file, with configurable level as well.

This commit is contained in:
Wouter R
2013-08-23 01:25:09 +02:00
parent 0730b442ac
commit 3de992c5b7
6 changed files with 95 additions and 4 deletions
+3
View File
@@ -82,6 +82,9 @@ else
uci set network.lan.ipaddr=192.168.5.1
echo -e "beta\nbeta" | passwd root
uci set uhttpd.main.lua_handler='/usr/share/lua/wifibox/main.lua'
uci set uhttpd.main.lua_prefix='/d3dapi'
uci set wireless.@wifi-device[0].disabled=0
# TODO: add firewall net
uci set network.wlan=interface