Readme formatting
This commit is contained in:
@@ -34,7 +34,7 @@ save mobile traffic).
|
|||||||
# Sample configuration
|
# Sample configuration
|
||||||
|
|
||||||
/etc/config/network:
|
/etc/config/network:
|
||||||
<pre>config interface 'wan1'
|
config interface 'wan1'
|
||||||
option ifname 'eth0'
|
option ifname 'eth0'
|
||||||
option metric '0'
|
option metric '0'
|
||||||
option proto 'pppoe'
|
option proto 'pppoe'
|
||||||
@@ -47,12 +47,12 @@ config interface 'wan2'
|
|||||||
option proto 'dhcp'
|
option proto 'dhcp'
|
||||||
option metric '5'
|
option metric '5'
|
||||||
option defaultroute '0'
|
option defaultroute '0'
|
||||||
option service 'LTE'</pre>
|
option service 'LTE'
|
||||||
|
|
||||||
/etc/config/wanmonitor:
|
/etc/config/wanmonitor:
|
||||||
<pre>config wanmonitor
|
config wanmonitor
|
||||||
option check_host '8.8.8.8'
|
option check_host '8.8.8.8'
|
||||||
option interval '5'
|
option interval '5'
|
||||||
option sleep '5'
|
option sleep '5'
|
||||||
option wan_primary 'wan1'
|
option wan_primary 'wan1'
|
||||||
option wan_secondary 'wan2'</pre>
|
option wan_secondary 'wan2'
|
||||||
|
Reference in New Issue
Block a user