Trying to make uci network configuration one time #22
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user