diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2006-01-21 23:21:16 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2006-01-21 23:21:16 +0000 |
commit | df8f417cbc47b0f13cd12a3d8302130bbb331547 (patch) | |
tree | 78a84ea352c8c9e00a92bda66aebbff97f41eb45 /sys-apps/adjtime/files/adjtime.init | |
parent | Stable on SPARC wrt bug #119449. (diff) | |
download | historical-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-x | sys-apps/adjtime/files/adjtime.init | 15 |
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 $? +} |