mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix config for RUTX
This commit is contained in:
parent
d525478bc0
commit
b8985b8ea8
1 changed files with 3 additions and 3 deletions
|
@ -331,11 +331,11 @@ if [ "$board" = "teltonika,rutx" ] && [ -f /sbin/mnf_info ]; then
|
||||||
commit network
|
commit network
|
||||||
add_list firewall.@zone[1].network='wan_modem1'
|
add_list firewall.@zone[1].network='wan_modem1'
|
||||||
commit firewall
|
commit firewall
|
||||||
set network.modem2=interface
|
|
||||||
set network.modem2.proto='modemmanager'
|
|
||||||
EOF
|
EOF
|
||||||
if [ "$(mnf_info -n)" = "RUTX1200XXXX" ] || ; then
|
if [ "$(mnf_info -n)" = "RUTX1200XXXX" ]; then
|
||||||
uci -q batch <<-EOF
|
uci -q batch <<-EOF
|
||||||
|
set network.modem2=interface
|
||||||
|
set network.modem2.proto='modemmanager'
|
||||||
set network.modem2.apn=''
|
set network.modem2.apn=''
|
||||||
set network.modem2.auth='none'
|
set network.modem2.auth='none'
|
||||||
set network.modem2.iptype='ipv4v6'
|
set network.modem2.iptype='ipv4v6'
|
||||||
|
|
Loading…
Reference in a new issue