Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125704 Details for
Bug 186271
net-dns/ddclient multiple instances
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ddclient init script
ddclient (text/plain), 951 bytes, created by
Jaco Kroon
on 2007-07-22 21:19:11 UTC
(
hide
)
Description:
ddclient init script
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2007-07-22 21:19:11 UTC
Size:
951 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/files/ddclient.rc6,v 1.4 2004/07/14 23:21:59 agriffis Exp $ > >depend() { > need net >} > >CFG="${SVCNAME#*.}" >[[ ${SVCNAME} != "ddclient" ]] && PID=/var/run/ddclient-${CFG}.pid || PID=/var/run/ddclient.pid >CFGFILE=/etc/ddclient/${CFG}.conf >CACHEFILE=/etc/ddclient/${CFG}.cache > >checkconfig() { > if [ ! -e "${CFGFILE}" ] ; then > eerror "You need a ${CFGFILE} file to run ${SVCNAME}" > eerror "There is a sample file in /etc/ddclient/" > return 1 > fi > >} > >start() { > checkconfig || return 1 > ebegin "Starting DDClient (${CFG})" > start-stop-daemon --start --quiet --exec /usr/sbin/ddclient -- \ > -pid "${PID}" \ > -file "${CFGFILE}" \ > -cache "${CACHEFILE}" > eend $? >} > >stop() { > ebegin "Stopping DDClient (${CFG})" > start-stop-daemon --stop --quiet --pidfile "${PID}" > 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 186271
: 125704