mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
10 lines
242 B
Bash
Executable File
10 lines
242 B
Bash
Executable File
#!/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
|