forked from Sysdeploy/openwrt
Set a custom uci option to determine applied defaults
This commit is contained in:
parent
68196ebf44
commit
44c6ed93c4
|
@ -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
|
# switch LAN to eth1
|
||||||
/sbin/uci set network.@device[0].ports='eth1'
|
/sbin/uci set network.@device[0].ports='eth1'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user