Trying to make uci network configuration one time

This commit is contained in:
Lee Miller 2023-02-15 03:36:03 +02:00
parent 8ebae57e5f
commit 68196ebf44
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 2 additions and 0 deletions

View File

@ -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'