From 44c6ed93c41ab0178013e2b9d4d779c824204378 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Thu, 16 Feb 2023 02:48:26 +0200 Subject: [PATCH] Set a custom uci option to determine applied defaults --- defaults/49-network | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/defaults/49-network b/defaults/49-network index ffb3449..357ae22 100644 --- a/defaults/49-network +++ b/defaults/49-network @@ -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'