diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2013-08-25 22:07:55 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2013-08-25 22:07:55 +0000 |
commit | 461398be13b209a7007bba55b7b70a12e4ac1f8f (patch) | |
tree | bed9e8b2933e053a8ba95a65ab35ad1d796d8282 /net-misc/openntpd/files | |
parent | added systemd unit files (bug #471610) (diff) | |
download | gentoo-2-461398be13b209a7007bba55b7b70a12e4ac1f8f.tar.gz gentoo-2-461398be13b209a7007bba55b7b70a12e4ac1f8f.tar.bz2 gentoo-2-461398be13b209a7007bba55b7b70a12e4ac1f8f.zip |
remove old
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'net-misc/openntpd/files')
-rw-r--r-- | net-misc/openntpd/files/openntpd.conf.d-3.9_p1-r2 | 7 | ||||
-rw-r--r-- | net-misc/openntpd/files/openntpd.rc-3.9_p1-r2 | 47 |
2 files changed, 0 insertions, 54 deletions
diff --git a/net-misc/openntpd/files/openntpd.conf.d-3.9_p1-r2 b/net-misc/openntpd/files/openntpd.conf.d-3.9_p1-r2 deleted file mode 100644 index f07752752022..000000000000 --- a/net-misc/openntpd/files/openntpd.conf.d-3.9_p1-r2 +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/conf.d/ntpd: config file for openntpd's ntpd - -NTPD_HOME=/var/lib/openntpd/chroot - -# See ntpd(8) man page ... some popular options: -# -s Set the time immediately at startup -NTPD_OPTS="" diff --git a/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2 b/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2 deleted file mode 100644 index 7d97d3e67200..000000000000 --- a/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2,v 1.3 2011/03/05 22:14:25 vapier Exp $ - -depend() { - need net - after ntp-client - use dns logger -} - -checkconfig() { - if [ ! -f /etc/ntpd.conf ] ; then - eerror "Could not find /etc/ntpd.conf!" - return 1 - fi - - if [ -x /usr/bin/getent ] ; then - if [ "`getent passwd ntp | cut -d: -f 6`" != "${NTPD_HOME}" ] ; then - eerror "Home directory of ntp needs to be ${NTPD_HOME}" - eerror "Please run 'usermod -d ${NTPD_HOME} ntp'" - return 1 - fi - fi - - checkpath -d -o 0:0 /var/lib/openntpd/chroot - - return 0 -} - -start() { - checkconfig || return $? - - # prepare chroot - mkdir -p "${NTPD_HOME}/etc" - cp /etc/localtime "${NTPD_HOME}/etc" - - ebegin "Starting ntpd" - start-stop-daemon --start --exec /usr/sbin/ntpd --name ntpd -- ${NTPD_OPTS} - eend $? "Failed to start ntpd" -} - -stop() { - ebegin "Stopping ntpd" - start-stop-daemon --stop --exec /usr/sbin/ntpd --name ntpd --user root - eend $? "Failed to stop openntpd" -} |