mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
unbound: fix boot time and default run directory
Unbound struggles with boot ifup, so procd triggers changed to push outside of this noise. Unbound has run in /var/lib/unbound/, so chroot (jail) protects /etc/, and it can save flash wear. Compiled defaults reflect this now, so Unbound tools are easier run on the command line. Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
This commit is contained in:
@@ -43,8 +43,8 @@ odhcpd_zonedata() {
|
||||
local dhcp_origin=$( uci_get dhcp.@odhcpd[0].leasefile )
|
||||
|
||||
|
||||
if [ -f "$UB_TIME_FILE" -a "$dhcp_link" = "odhcpd" \
|
||||
-a -f "$dhcp_origin" -a -n "$dhcp_domain" ] ; then
|
||||
if [ -f "$UB_TOTAL_CONF" -a -f "$dhcp_origin" \
|
||||
-a "$dhcp_link" = "odhcpd" -a -n "$dhcp_domain" ] ; then
|
||||
# Capture the lease file which could be changing often
|
||||
sort $dhcp_origin > $dhcp_ls_new
|
||||
|
||||
|
||||
Reference in New Issue
Block a user