mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-13 10:34:29 +05:00
fix
This commit is contained in:
@@ -325,7 +325,7 @@ dnsmasqfull() {
|
|||||||
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
s
|
|
||||||
dnsmasqconfdir() {
|
dnsmasqconfdir() {
|
||||||
if [ $VERSION_ID -ge 24 ]; then
|
if [ $VERSION_ID -ge 24 ]; then
|
||||||
if uci get dhcp.@dnsmasq[0].confdir | grep -q /tmp/dnsmasq.d; then
|
if uci get dhcp.@dnsmasq[0].confdir | grep -q /tmp/dnsmasq.d; then
|
||||||
|
|||||||
Reference in New Issue
Block a user