summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnet/ntp4/files/ntpd.sh4
-rwxr-xr-xnet/ntp4/files/ntpdate.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/ntp4/files/ntpd.sh b/net/ntp4/files/ntpd.sh
index d6ffde43582..a147c45c92e 100755
--- a/net/ntp4/files/ntpd.sh
+++ b/net/ntp4/files/ntpd.sh
@@ -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"
diff --git a/net/ntp4/files/ntpdate.sh b/net/ntp4/files/ntpdate.sh
index 3c5898b6acc..5b0981ce4d1 100755
--- a/net/ntp4/files/ntpdate.sh
+++ b/net/ntp4/files/ntpdate.sh
@@ -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
}