Trying to make uci network configuration one time #22

Merged
PeterSurda merged 2 commits from lee.miller/openwrt:defaults into main 2023-02-16 11:45:05 +01:00
Showing only changes of commit 68196ebf44 - Show all commits

View File

@ -1,3 +1,5 @@
[ "$(uci -q get firewall.@rule[-1].name)" = "Allow-SSH" ] && exit 0
# switch LAN to eth1 # switch LAN to eth1
/sbin/uci set network.@device[0].ports='eth1' /sbin/uci set network.@device[0].ports='eth1'