You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
181 B
Bash
7 lines
181 B
Bash
4 years ago
|
#!/bin/sh
|
||
|
|
||
|
[ "$(uci get dhcp.@dnsmasq[0].resolvfile)" = "/tmp/resolv.conf.auto" ] && {
|
||
|
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
|
||
|
uci commit dhcp
|
||
|
}
|