mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 23:15:10 -04:00
9 lines
242 B
Bash
Executable file
9 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
|