mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
increase glorytun timeout, add default config for shadowsocks and network, add custom theme
This commit is contained in:
parent
eb53f75241
commit
dab94ddfba
18 changed files with 2282 additions and 5 deletions
23
openmptcprouter/files/etc/uci-defaults/1920-omr-network
Executable file
23
openmptcprouter/files/etc/uci-defaults/1920-omr-network
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete network.wan1=interface
|
||||
set network.wan1=interface
|
||||
set network.wan1.ifname=eth0
|
||||
set network.wan1.proto=none
|
||||
set network.wan1.type=macvlan
|
||||
set network.wan1.ip4table=wan
|
||||
set network.wan1.multipath=master
|
||||
set network.wan1.defaultroute=0
|
||||
delete network.wan2=interface
|
||||
set network.wan2=interface
|
||||
set network.wan2.ifname=eth0
|
||||
set network.wan2.proto=none
|
||||
set network.wan2.type=macvlan
|
||||
set network.wan2.ip4table=wan
|
||||
set network.wan2.multipath=on
|
||||
set network.wan2.defaultroute=0
|
||||
commit network
|
||||
EOF
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue