summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ntpd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/ntpd')
-rwxr-xr-xetc/rc.d/ntpd18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/rc.d/ntpd b/etc/rc.d/ntpd
new file mode 100755
index 0000000..b09c4d1
--- /dev/null
+++ b/etc/rc.d/ntpd
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: ntpd,v 1.2 2000/05/13 08:45:07 lukem Exp $
+#
+
+# PROVIDE: ntpd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="ntpd"
+rcvar=$name
+command="/usr/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="/etc/ntp.conf"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud