summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-10-14 13:39:15 +0000
committerThilo Bangert <bangert@gentoo.org>2009-10-14 13:39:15 +0000
commit17be6a505bd20cf189d8caae162c576e364d1319 (patch)
treeba9a6d377b282acc5ffc2ae92de41ac83d7daa5d /net-misc/openntpd/files
parentx11-proto/kbproto: bump to 1.0.4, sync with overlay (diff)
downloadhistorical-17be6a505bd20cf189d8caae162c576e364d1319.tar.gz
historical-17be6a505bd20cf189d8caae162c576e364d1319.tar.bz2
historical-17be6a505bd20cf189d8caae162c576e364d1319.zip
use NTPD_HOME variable - thanks Leonid Evdokimov
Package-Manager: portage-2.2_rc42/cvs/Linux i686
Diffstat (limited to 'net-misc/openntpd/files')
-rw-r--r--net-misc/openntpd/files/openntpd.rc-3.9_p1-r26
1 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2 b/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2
index 455e4e21cfd2..992944aabce5 100644
--- a/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2
+++ b/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 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.1 2009/10/14 08:04:19 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/files/openntpd.rc-3.9_p1-r2,v 1.2 2009/10/14 13:39:15 bangert Exp $
depend() {
need net
@@ -30,8 +30,8 @@ start() {
checkconfig || return $?
#prepare chroot
- mkdir -p /var/lib/openntpd/chroot/etc/
- cp /etc/localtime /var/lib/openntpd/chroot/etc
+ 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}