Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3895 Details for
Bug 7872
bind-9.2.2_rc1-r1.ebuild - ${FILESDIR}/localhost fixed.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixed named.rc6
named.rc6 (text/plain), 1.28 KB, created by
Maurizio Disimino
on 2002-09-13 14:08:26 UTC
(
hide
)
Description:
fixed named.rc6
Filename:
MIME Type:
Creator:
Maurizio Disimino
Created:
2002-09-13 14:08:26 UTC
Size:
1.28 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/net-dns/bind/files/named.rc6,v 1.3 2002/08/20 15:10:56 achim Exp $ > >opts="start stop reload restart" > >depend() { > need net >} > >checkconfig() { > if [ ! -f ${CHROOT}/etc/bind/named.conf ] ; then > eerror "No ${CHROOT}/etc/bind/named.conf file exists!" > fi > > # In case someone doesn't have $CPU set from /etc/conf.d/named > if [ ! $CPU ] ; then > CPU=1 > fi > > if [ $CHROOT -a -d $CHROOT ] ; then > PIDFILE="${CHROOT}/var/run/named/named.pid" > KEY="${CHROOT}/etc/bind/rndc.key" > else > PIDFILE="/var/run/named/named.pid" > KEY="/etc/bind/rndc.key" > fi >} > >start() { > ebegin "Starting ${CHROOT:+chrooted }named" > checkconfig || return 1 > start-stop-daemon --start --quiet --exec /usr/sbin/named -- -u named -n $CPU $OPTIONS ${CHROOT:+-t $CHROOT} > eend $? >} > >stop() { > ebegin "Stopping named" > checkconfig || return 2 > start-stop-daemon --stop --quiet --pidfile $PIDFILE > eend $? >} > >reload() { > checkconfig || return 3 > if [ ! -f $PIDFILE ] ; then > /etc/init.d/named start &>/dev/null > exit > fi > > if [ -f $KEY ] ; then > ebegin "Reloading named" > rndc -k $KEY reconfig &>/dev/null > eend $? > else /etc/init.d/named restart &>/dev/null > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7872
:
3889
| 3895