Set a custom uci option to determine applied defaults

This commit is contained in:
Lee Miller 2023-02-16 02:48:26 +02:00
parent 68196ebf44
commit 44c6ed93c4
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -1,4 +1,7 @@
[ "$(uci -q get firewall.@rule[-1].name)" = "Allow-SSH" ] && exit 0
[ "$(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
/sbin/uci set network.@device[0].ports='eth1'