summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-01-21 23:21:16 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-01-21 23:21:16 +0000
commitdf8f417cbc47b0f13cd12a3d8302130bbb331547 (patch)
tree78a84ea352c8c9e00a92bda66aebbff97f41eb45 /sys-apps/adjtime/files/adjtime.init
parentStable on SPARC wrt bug #119449. (diff)
downloadhistorical-df8f417cbc47b0f13cd12a3d8302130bbb331547.tar.gz
historical-df8f417cbc47b0f13cd12a3d8302130bbb331547.tar.bz2
historical-df8f417cbc47b0f13cd12a3d8302130bbb331547.zip
Adding new perl script for adjusting the clock tick on kurobox and LinkStation
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-apps/adjtime/files/adjtime.init')
-rwxr-xr-xsys-apps/adjtime/files/adjtime.init15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/adjtime/files/adjtime.init b/sys-apps/adjtime/files/adjtime.init
new file mode 100755
index 000000000000..302f5561ae5d
--- /dev/null
+++ b/sys-apps/adjtime/files/adjtime.init
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/adjtime/files/adjtime.init,v 1.1 2006/01/21 23:21:16 nerdboy Exp $
+
+depend() {
+ need net
+ before ntpd
+}
+
+start() {
+ echo 'Adjusting clock tick...'
+ /sbin/adjtime.pl -v -s $NTP_HOST -i 60
+ eend $?
+}