summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/scripts/ntp-restart
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/scripts/ntp-restart')
-rwxr-xr-xusr.sbin/xntpd/scripts/ntp-restart9
1 files changed, 0 insertions, 9 deletions
diff --git a/usr.sbin/xntpd/scripts/ntp-restart b/usr.sbin/xntpd/scripts/ntp-restart
deleted file mode 100755
index d2023f0..0000000
--- a/usr.sbin/xntpd/scripts/ntp-restart
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-#
-# This script can be used to kill and restart the NTP daemon. Edit the
-# /usr/local/bin/xntpd line to fit.
-#
-kill -INT `ps -ax | egrep "xntpd" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`
-sleep 10
-/usr/local/bin/xntpd
-exit 0
OpenPOWER on IntegriCloud