diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-03 16:08:58 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-03 16:08:58 +0000 |
commit | 0157503dd8ed9a9423defc13454c4f116d592ec1 (patch) | |
tree | c4f9444a7ea09c65a42572e525f219380a0be93d /sbin/resolvconf | |
parent | 57f6622f92bd72f8dd00ef76ca63a9bc909d7d49 (diff) | |
download | src-test2-0157503dd8ed9a9423defc13454c4f116d592ec1.tar.gz src-test2-0157503dd8ed9a9423defc13454c4f116d592ec1.zip |
Notes
Diffstat (limited to 'sbin/resolvconf')
-rw-r--r-- | sbin/resolvconf/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/resolvconf/Makefile b/sbin/resolvconf/Makefile index e1428208d6b1..db33656634ab 100644 --- a/sbin/resolvconf/Makefile +++ b/sbin/resolvconf/Makefile @@ -20,16 +20,16 @@ SBINDIR= /sbin # We don't assume to restart the services in /sbin. So, though # our service(8) is in /usr/sbin, we can use it, here. -CMD1= \1 onestatus >/dev/null 2>\&1 -CMD2= \1 restart -RESTARTCMD= /usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2} +CMD1= \\$$1 onestatus >/dev/null 2>\&1 +CMD2= \\$$1 restart +RESTARTCMD= "/usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2}" .for f in ${SCRIPTS} ${FILES} ${MAN} ${f}: ${f}.in sed -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \ -e 's:@LIBEXECDIR@:${FILESDIR}:g' \ -e 's:@VARDIR@:${VARDIR}:g' \ - -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \ + -e 's:@RESTARTCMD@:${RESTARTCMD}:g' \ -e 's:@RCDIR@:${RCDIR}:g' \ -e 's:@SBINDIR@:${SBINDIR}:g' \ -e 's: vpn : ng[0-9]*&:g' \ |