Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125600 Details for
Bug 186159
net-dns/ddclient init script doesn't work on baselayout-2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ddclient.initd
ddclient (text/plain), 1.16 KB, created by
Davide Pesavento (RETIRED)
on 2007-07-21 23:07:53 UTC
(
hide
)
Description:
ddclient.initd
Filename:
MIME Type:
Creator:
Davide Pesavento (RETIRED)
Created:
2007-07-21 23:07:53 UTC
Size:
1.16 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/files/ddclient.initd,v 1.1 2006/09/08 00:22:30 seemant Exp $ > ># Default location if not specified in /etc/conf.d/ddclient >PIDFILE=${PIDFILE:-/var/run/ddclient/ddclient.pid} > >depend() { > before cron > need net > use dns logger >} > >checkconfig() { > local conf="/etc/ddclient/ddclient.conf" > > if [[ -e "${conf}" ]] ; then > if [[ -n "$(find /etc/ddclient -maxdepth 1 -name ddclient.conf -perm +0004)" ]] ; then > eerror "${conf} must not be world-readable. Run e.g.:" > eerror " chmod 640 ${conf}" > eerror " chown root:ddclient ${conf}" > return 1 > fi > else > eerror "/etc/ddclient/ddclient.conf is needed to run ddclient" > eerror "There is a sample file in /etc/ddclient/" > return 1 > fi >} > >start() { > checkconfig || return 1 > ebegin "Starting DDClient" > start-stop-daemon --start \ > --chuid ddclient:ddclient \ > --exec /usr/sbin/ddclient \ > --pidfile "${PIDFILE}" \ > -- -pid="${PIDFILE}" > eend $? >} > >stop() { > ebegin "Stopping DDClient" > start-stop-daemon --stop --pidfile "${PIDFILE}" > 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 186159
: 125600