#!/sbin/runscript # Copyright 2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need net use dns logger } start() { ebegin "Starting vsntp" start-stop-daemon --start --exec /usr/sbin/vsntp --name vsntp -- \ -i "${VSNTP_INTERVAL:-900}" ${VSNTP_OPTS} \ ${VSNTP_SERVER:-pool.ntp.org} eend $? "Failed to start vsntp" } stop() { ebegin "Stopping vsntp" start-stop-daemon --stop --name vsntp eend $? "Failed to stop vsntp" }