Module Name: src
Committed By: roy
Date: Thu Dec 3 10:28:37 UTC 2009
Modified Files:
src/external/bsd/openresolv/sbin/resolvconf: Makefile
Log Message:
Fix subst so that the subcribers can restart their daemon.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/openresolv/sbin/resolvconf/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/openresolv/sbin/resolvconf/Makefile
diff -u src/external/bsd/openresolv/sbin/resolvconf/Makefile:1.1 src/external/bsd/openresolv/sbin/resolvconf/Makefile:1.2
--- src/external/bsd/openresolv/sbin/resolvconf/Makefile:1.1 Sat Nov 21 03:24:31 2009
+++ src/external/bsd/openresolv/sbin/resolvconf/Makefile Thu Dec 3 10:28:37 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/11/21 03:24:31 roy Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/03 10:28:37 roy Exp $
#
.include <bsd.own.mk>
@@ -16,16 +16,16 @@
CLEANFILES= ${SCRIPTS} ${MAN}
-CMD1= \\1 status >/dev/null 2>\\&1
-CMD2= \\1 restart
-RESTART_CMD= /etc/rc.d/${CMD1} \\&\\& /etc/rc.d/${CMD2}
+CMD1= \1 status >/dev/null 2>\&1
+CMD2= \1 restart
+RESTARTCMD= /etc/rc.d/${CMD1} \&\& /etc/rc.d/${CMD2}
.for f in ${SCRIPTS} ${MAN}
${f}: ${f}.in
${TOOL_SED} -e 's:@PREFIX@::g' \
-e 's:@SYSCONFDIR@:/etc:g' \
-e 's:@LIBEXECDIR@:/libexec/resolvconf:g' \
-e 's:@VARDIR@:/var/run/resolvconf:g' \
- -e 's:@RESTARTCMD \(.*\)@:${RESARTCMD}:g' \
+ -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \
${DIST}/${f}.in > $@
.endfor