mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2026-08-15 21:41:57 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user