dhcpmngr: avoid uci commit in uci-defaults

This commit is contained in:
Vivek Kumar Dutta 2025-03-05 10:10:29 +05:30
parent b673daf265
commit 41ba4fcedc
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C

View file

@ -10,7 +10,6 @@ uci -q get dhcp.odhcpd >/dev/null 2>&1 && {
[ -e /usr/lib/unbound/odhcpd.sh ] && [ -e /usr/sbin/unbound ] && {
# then set unbound script as leasetrigger in dhcp UCI
uci -q set dhcp.odhcpd.leasetrigger='/usr/lib/unbound/odhcpd.sh'
uci commit dhcp
}
}
}