diff options
author | Sven Wegener <swegener@gentoo.org> | 2017-01-14 19:11:32 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2017-01-14 19:13:51 +0000 |
commit | ded639753190a409a10b2038b8f3b1f9e7a1d79d (patch) | |
tree | 735daa84ec3d212d0ba9da76b572b6547b0d35ac /net-dns/pdns-recursor | |
parent | app-benchmarks/bonnie++: remove old 1.97-r1 (diff) | |
download | gentoo-ded639753190a409a10b2038b8f3b1f9e7a1d79d.tar.gz gentoo-ded639753190a409a10b2038b8f3b1f9e7a1d79d.tar.bz2 gentoo-ded639753190a409a10b2038b8f3b1f9e7a1d79d.zip |
net-dns/pdns-recursor: Replace bashisms in init script, bug #605694
Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'net-dns/pdns-recursor')
-rw-r--r-- | net-dns/pdns-recursor/files/pdns-recursor | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-dns/pdns-recursor/files/pdns-recursor b/net-dns/pdns-recursor/files/pdns-recursor index f114d5be4a2d..8300b708fd92 100644 --- a/net-dns/pdns-recursor/files/pdns-recursor +++ b/net-dns/pdns-recursor/files/pdns-recursor @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,18 +11,18 @@ depend() { start() { ebegin "Starting PowerDNS Recursor" - /usr/sbin/pdns_recursor --daemon=yes &>/dev/null + /usr/sbin/pdns_recursor --daemon=yes >/dev/null 2>&1 eend $? } stop() { ebegin "Stopping PowerDNS Recursor" - /usr/bin/rec_control quit &>/dev/null + /usr/bin/rec_control quit >/dev/null 2>&1 eend $? } ping() { ebegin "Pinging PowerDNS Recursor" - /usr/bin/rec_control ping &>/dev/null + /usr/bin/rec_control ping >/dev/null 2>&1 eend $? } |