changes
This commit is contained in:
1 parent
bbfea01334
commit
a1f926aa8d
9 files changed
+8
-106
No files matched your search
@@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Enabling Wifi
|
||||
uci set wireless.@wifi-device[0].disabled='0'
|
||||
uci set wireless.@wifi-iface[0].disabled='0'
|
||||
|
||||
# create modem interface
|
||||
uci set network.modem=interface
|
||||
uci set network.modem.proto='modemmanager'
|
||||
@@ -11,6 +15,8 @@ uci set network.modem.preferredmode='4g'
|
||||
uci set network.modem.ifname='wwan0'
|
||||
uci del_list firewall.@zone[1].network='modem'
|
||||
uci add_list firewall.@zone[1].network='modem'
|
||||
|
||||
# We commit all the changes and restart network
|
||||
uci commit
|
||||
/etc/init.d/network restart
|
||||
|
||||
|
||||
Reference in new issue
Block a user