Fixes path names, changed at switched to 4.2.7-dev snapshot release.

PR pkg/48590 by Jason White.
This commit is contained in:
obache 2014-03-05 12:24:43 +00:00
parent b7e3648c13
commit 6a043d1d21
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: ntpd.sh,v 1.2 2004/03/28 06:35:03 xtraeme Exp $
# $NetBSD: ntpd.sh,v 1.3 2014/03/05 12:24:43 obache Exp $
#
# PROVIDE: ntpd
@ -12,7 +12,7 @@
name="ntpd"
rcvar=$name
command="@PREFIX@/bin/${name}"
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
start_precmd="ntpd_precmd"
required_files="@PKG_SYSCONFDIR@/ntp.conf"

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: ntpdate.sh,v 1.1 2004/03/11 20:39:40 reed Exp $
# $NetBSD: ntpdate.sh,v 1.2 2014/03/05 12:24:43 obache Exp $
#
# PROVIDE: ntpdate
@ -23,7 +23,7 @@ ntpdate_start()
fi
if [ -n "$ntpdate_hosts" ]; then
echo "Setting date via ntp."
@PREFIX@/bin/ntpdate $rc_flags $ntpdate_hosts
@PREFIX@/sbin/ntpdate $rc_flags $ntpdate_hosts
fi
}