Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/openresolv/dist PR port-evbarm/53661
details: https://anonhg.NetBSD.org/src/rev/5df3b73c24b1
branches: trunk
changeset: 433885:5df3b73c24b1
user: kre <kre%NetBSD.org@localhost>
date: Tue Oct 09 01:28:35 2018 +0000
description:
PR port-evbarm/53661
Always quote RESTARTCMD when eval'ing it. Whatever script does it...
diffstat:
external/bsd/openresolv/dist/dnsmasq.in | 2 +-
external/bsd/openresolv/dist/libc.in | 2 +-
external/bsd/openresolv/dist/named.in | 2 +-
external/bsd/openresolv/dist/unbound.in | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r ad3dd5a474d7 -r 5df3b73c24b1 external/bsd/openresolv/dist/dnsmasq.in
--- a/external/bsd/openresolv/dist/dnsmasq.in Mon Oct 08 20:44:34 2018 +0000
+++ b/external/bsd/openresolv/dist/dnsmasq.in Tue Oct 09 01:28:35 2018 +0000
@@ -184,7 +184,7 @@
eval $dnsmasq_restart
elif [ -n "$RESTARTCMD" ]; then
set -- ${dnsmasq_service}
- eval $RESTARTCMD
+ eval "$RESTARTCMD""
else
@SBINDIR@/resolvconf -r ${dnsmasq_service}
fi
diff -r ad3dd5a474d7 -r 5df3b73c24b1 external/bsd/openresolv/dist/libc.in
--- a/external/bsd/openresolv/dist/libc.in Mon Oct 08 20:44:34 2018 +0000
+++ b/external/bsd/openresolv/dist/libc.in Tue Oct 09 01:28:35 2018 +0000
@@ -234,7 +234,7 @@
eval $libc_restart
elif [ -n "$RESTARTCMD" ]; then
set -- ${libc_service}
- eval $RESTARTCMD
+ eval "$RESTARTCMD"
else
@SBINDIR@/resolvconf -r ${libc_service}
fi
diff -r ad3dd5a474d7 -r 5df3b73c24b1 external/bsd/openresolv/dist/named.in
--- a/external/bsd/openresolv/dist/named.in Mon Oct 08 20:44:34 2018 +0000
+++ b/external/bsd/openresolv/dist/named.in Tue Oct 09 01:28:35 2018 +0000
@@ -111,7 +111,7 @@
eval $named_restart
elif [ -n "$RESTARTCMD" ]; then
set -- ${named_service}
- eval $RESTARTCMD
+ eval "$RESTARTCMD"
else
@SBINDIR@/resolvconf -r ${named_service}
fi
diff -r ad3dd5a474d7 -r 5df3b73c24b1 external/bsd/openresolv/dist/unbound.in
--- a/external/bsd/openresolv/dist/unbound.in Mon Oct 08 20:44:34 2018 +0000
+++ b/external/bsd/openresolv/dist/unbound.in Tue Oct 09 01:28:35 2018 +0000
@@ -76,7 +76,7 @@
eval $unbound_restart
elif [ -n "$RESTARTCMD" ]; then
set -- ${unbound_service}
- eval $RESTARTCMD
+ eval "$RESTARTCMD"
else
@SBINDIR@/resolvconf -r ${unbound_service}
fi
Home |
Main Index |
Thread Index |
Old Index