summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Swenson <titanofold@gentoo.org>2013-03-02 18:17:20 +0000
committerAaron Swenson <titanofold@gentoo.org>2013-03-02 18:17:20 +0000
commitca9f13a394f8828245db05f921ad0000139dfa51 (patch)
treed30150521a6637ba17d124ed671eb229ed918f27 /net-misc/rdate/files
parentremove old (diff)
downloadhistorical-ca9f13a394f8828245db05f921ad0000139dfa51.tar.gz
historical-ca9f13a394f8828245db05f921ad0000139dfa51.tar.bz2
historical-ca9f13a394f8828245db05f921ad0000139dfa51.zip
Fix bug 335159. Thanks Kevin Pyle and Michael Mair-Keimberger. Clean out cruft.
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64 Manifest-Sign-Key: 0xD1BBFDA0
Diffstat (limited to 'net-misc/rdate/files')
-rw-r--r--net-misc/rdate/files/rdate-initd35
-rw-r--r--net-misc/rdate/files/rdate-initd-1.4-r230
2 files changed, 0 insertions, 65 deletions
diff --git a/net-misc/rdate/files/rdate-initd b/net-misc/rdate/files/rdate-initd
deleted file mode 100644
index 6b96bbc30c6f..000000000000
--- a/net-misc/rdate/files/rdate-initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/files/rdate-initd,v 1.1 2005/05/17 21:19:07 robbat2 Exp $
-
-depend() {
- before cron
- need net
- use dns
-}
-
-checkconfig() {
- if [ -z "${RDATE_SERVER}" ] ; then
- eerror "Please edit /etc/conf.d/rdate"
- eerror "I need to know what server to use!"
- return 1
- fi
- if [ -z "${RDATE_OPTS}" ] ; then
- eerror "Please edit /etc/conf.d/rdate"
- eerror "I need to know what options to use!"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
-
- ebegin "Setting clock via rdate"
- /usr/bin/rdate -s ${RDATE_OPTS} ${RDATE_SERVER} >/dev/null &
- local pid=$!
- (sleep ${RDATE_TIMEOUT:-30}; kill -9 ${pid} >&/dev/null) &
- wait ${pid}
- eend $? "Failed to set clock"
-}
diff --git a/net-misc/rdate/files/rdate-initd-1.4-r2 b/net-misc/rdate/files/rdate-initd-1.4-r2
deleted file mode 100644
index 0805eadd9a3c..000000000000
--- a/net-misc/rdate/files/rdate-initd-1.4-r2
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/files/rdate-initd-1.4-r2,v 1.1 2006/11/13 10:38:19 robbat2 Exp $
-
-depend() {
- before cron
- need net
- use dns
-}
-
-checkconfig() {
- if [ -z "${RDATE_SERVER}" ] ; then
- eerror "Please edit /etc/conf.d/rdate"
- eerror "I need to know what server to use!"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
-
- ebegin "Setting clock via rdate"
- /usr/bin/rdate -s ${RDATE_OPTS} ${RDATE_SERVER} >/dev/null &
- local pid=$!
- (sleep ${RDATE_TIMEOUT:-30}; kill -9 ${pid} >&/dev/null) &
- wait ${pid}
- eend $? "Failed to set clock"
-}