Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35871 Details for
Bug 57845
net-misc/rdate init script suggestion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rdate.rc
rdate.rc (text/plain), 707 bytes, created by
antoine marmignon
on 2004-07-21 06:17:28 UTC
(
hide
)
Description:
rdate.rc
Filename:
MIME Type:
Creator:
antoine marmignon
Created:
2004-07-21 06:17:28 UTC
Size:
707 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > before cron > need net > use dns logger >} > >checkconfig() { > if [ ! -x "`which ${RDATE_CMD} 2>/dev/null`" ] ; then > eerror "Please edit /etc/conf.d/rdate" > eerror "Unable to locate the client command ${RDATE_CMD}!" > return 1 > fi > if [ -z "${RDATE_OPTS}" ] ; then > eerror "Please edit /etc/conf.d/rdate" > eerror "I need to know what server/options to use!" > return 1 > fi > return 0 >} > >start() { > checkconfig || return $? > > ebegin "Setting clock via the ${RDATE_CMD} command" > ${RDATE_CMD} ${RDATE_OPTS} >/dev/null > eend $? "Failed to set clock" >}
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 57845
: 35871 |
35872
|
44790
|
44791