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

View File

@ -1,3 +1,8 @@
[ "$(uci -q get luci.diag.dns)" = "bitmessage.org" ] && exit 0
# make a significant change
/sbin/uci set luci.diag.dns='bitmessage.org'
# switch LAN to eth1 # switch LAN to eth1
/sbin/uci set network.@device[0].ports='eth1' /sbin/uci set network.@device[0].ports='eth1'