mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
Minor fixes.
This commit is contained in:
parent
72afef93bd
commit
56f6815bc1
@ -63,6 +63,8 @@ fi
|
||||
|
||||
### Finally make sure basic configuration is set correctly
|
||||
|
||||
/etc/init.d/wifibox enable
|
||||
|
||||
if [ -z "$IPKG_INSTROOT" ]; then
|
||||
echo "Enabling wifi device..."
|
||||
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
|
||||
@ -71,8 +73,6 @@ if [ -z "$IPKG_INSTROOT" ]; then
|
||||
|
||||
echo "Adding network interface 'wlan'..."
|
||||
uci set network.wlan=interface; uci commit network; /etc/init.d/network reload
|
||||
|
||||
/etc/init.d/wifibox enable
|
||||
|
||||
else
|
||||
# Create a script to setup the system as wifibox, it will be deleted after it has been run, except if it returns > 0
|
||||
|
@ -150,7 +150,7 @@ end
|
||||
|
||||
--[[ Add/remove DHCP pool for wireless net ]]
|
||||
function reconf.dhcppool_add(dirtyList)
|
||||
uci:set('dhcp', wifi.getDeviceName(), 'dhcp') --create section
|
||||
uci:set('dhcp', wifi.NET, 'dhcp') --create section
|
||||
M.uciTableSet('dhcp', wifi.NET, {
|
||||
interface = wifi.NET,
|
||||
start = '100',
|
||||
|
Loading…
Reference in New Issue
Block a user