forked from Sysdeploy/openwrt
Trying to make uci network configuration one time
This commit is contained in:
parent
8ebae57e5f
commit
68196ebf44
|
@ -1,3 +1,5 @@
|
|||
[ "$(uci -q get firewall.@rule[-1].name)" = "Allow-SSH" ] && exit 0
|
||||
|
||||
# switch LAN to eth1
|
||||
/sbin/uci set network.@device[0].ports='eth1'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user