summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-03-05 12:24:43 +0000
committerobache <obache@pkgsrc.org>2014-03-05 12:24:43 +0000
commit57b1d159ba76e7d5c28e18e193d649eace56d8e3 (patch)
tree979b7495b556b6c03cc84af8219424f139d69ec2 /net
parent9160bc610a5255340c509797a399d6622bdcbadc (diff)
downloadpkgsrc-57b1d159ba76e7d5c28e18e193d649eace56d8e3.tar.gz
Fixes path names, changed at switched to 4.2.7-dev snapshot release.
PR pkg/48590 by Jason White.
Diffstat (limited to 'net')
-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
}