Trying to make uci network configuration one time #22

Merged
PeterSurda merged 2 commits from lee.miller/openwrt:defaults into main 2023-02-16 10:45:05 +00:00
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
[ "$(uci -q get luci.diag.dns)" = "bitmessage.org" ] && exit 0

This may not work if I add more rules (manually) later.

This may not work if I add more rules (manually) later.
# make a significant change
/sbin/uci set luci.diag.dns='bitmessage.org'
# switch LAN to eth1
/sbin/uci set network.@device[0].ports='eth1'