Release openresolv-3.7.1
[openresolv] / pdns_recursor.in
index 04ee6073555ed0dab48c5d3946fa0968f24f88e1..2919e7d0ff378f910138be754f50b93cb6024ce8 100644 (file)
@@ -29,7 +29,7 @@
 [ -f "@SYSCONFDIR@"/resolvconf.conf ] || exit 0
 . "@SYSCONFDIR@/resolvconf.conf" || exit 1
 [ -z "$pdns_zones" ] && exit 0
-[ -z "$RESOLVCONF" ] && eval "$(@PREFIX@/sbin/resolvconf -v)"
+[ -z "$RESOLVCONF" ] && eval "$(@SBINDIR@/resolvconf -v)"
 NL="
 "
 
@@ -61,7 +61,7 @@ done
 if type config_mkdirs >/dev/null 2>&1; then
        config_mkdirs "$pdnsd_zones"
 else
-       @PREFIX@/sbin/resolvconf -D "$pdnsd_zones"
+       @SBINDIR@/resolvconf -D "$pdnsd_zones"
 fi
 
 if [ ! -f "$pdns_zones" ] || \