summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-09-14 15:48:50 +0000
committerChristian Ruppert <idl0r@gentoo.org>2011-09-14 15:48:50 +0000
commit547f12bcc6fc92f8c3ac963ce028e4dc6a075e67 (patch)
treeb2d936d4367a6d14644589ec38cda58f6e67e64d /net-dns/bind/files
parentBuild with media-libs/libpng-1.5 Bug #380357 (diff)
downloadgentoo-2-547f12bcc6fc92f8c3ac963ce028e4dc6a075e67.tar.gz
gentoo-2-547f12bcc6fc92f8c3ac963ce028e4dc6a075e67.tar.bz2
gentoo-2-547f12bcc6fc92f8c3ac963ce028e4dc6a075e67.zip
Remove deprecated opts variable as well as --oknodo.
(Portage version: 2.2.0_alpha56/cvs/Linux x86_64)
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r--net-dns/bind/files/named.init-r118
1 files changed, 4 insertions, 4 deletions
diff --git a/net-dns/bind/files/named.init-r11 b/net-dns/bind/files/named.init-r11
index 15f744e84b08..8432ff00e107 100644
--- a/net-dns/bind/files/named.init-r11
+++ b/net-dns/bind/files/named.init-r11
@@ -1,9 +1,10 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r11,v 1.2 2011/06/16 18:56:09 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r11,v 1.3 2011/09/14 15:48:50 idl0r Exp $
-opts="start stop reload restart checkconfig checkzones"
+extra_commands="checkconfig checkzones"
+extra_started_commands="reload"
depend() {
need net
@@ -235,8 +236,7 @@ reload() {
_get_pidfile
if [ -n "${PIDFILE}" ]; then
- # FIXME: Remove --stop and --oknodo as soon as baselayout-1 has been removed... finally...
- start-stop-daemon --stop --oknodo --pidfile $PIDFILE --signal HUP --exec /usr/sbin/named
+ start-stop-daemon --pidfile $PIDFILE --signal HUP
ret=$?
else
ewarn "Unable to determine the pidfile... this is"