Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144542 Details for
Bug 128246
new ebuild net-dns/nsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Init.d script
nsd.initd (text/plain), 1.26 KB, created by
Petr Polezhaev
on 2008-02-24 22:22:22 UTC
(
hide
)
Description:
Init.d script
Filename:
MIME Type:
Creator:
Petr Polezhaev
Created:
2008-02-24 22:22:22 UTC
Size:
1.26 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ ># >opts="${opts} rebuild reload state update notify configtest" > >CONTROL="/usr/sbin/nsdc" > >depend() { > need net > use logger > provide dns >} > >configtest() { > ebegin "Checking config" > if [ ! -e "/etc/nsd/nsd.conf" ]; then > eerror "You need to create an apropriate config file" > eerror "in /etc/nsd/ . An example can be found in /etc/nsd/nsd.conf.sample" > return 1 > fi > > if ! nsd-checkconf "/etc/nsd/nsd.conf"; then > eerror "You have errors in your configfile" > return 1 > fi > eend >} > >start() { > configtest || return 1 > > ebegin "Starting NSD" > ${CONTROL} start > state > eend $? >} > >stop() { > ebegin "Stopping NSD" > ${CONTROL} stop > eend $? >} > >reload() { > configtest || return 1 > ebegin "Reloading NSD" > ${CONTROL} reload > eend $? >} > >rebuild() { > configtest || return 1 > ebegin "Rebuild NSD database" > ${CONTROL} rebuild > eend $? >} > >state() { > ebegin "Check if NSD is running" > ${CONTROL} running &> /dev/null > eend $? >} > >update() { > configtest || return 1 > ebegin "Updating NSD seconadary zones" > ${CONTROL} update > eend $? >} > >notify() { > ebegin "Notify slave servers for zones" > ${CONTROL} notify > eend $? >}
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 128246
:
83501
|
83502
|
83503
|
83525
|
86164
|
88177
|
115976
|
127685
|
127687
|
127863
|
135197
|
136154
|
144536
|
144540
|
144542
|
160549
|
160560
|
160738
|
160739
|
160741
|
191948
|
191950
|
216909
|
216910
|
216911
|
216912
|
260798
|
260800
|
305891
|
305893
|
305945