repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Expand PMF_FN_* macros.
[netbsd-mini2440.git]
/
dist
/
ntp
/
scripts
/
ntp-restart
blob
0a1d58a5c56c88da76f3d5bbe090729fbc56b3cc
1
#!/bin/sh
2
#
3
# This script can be used to kill and restart the NTP daemon. Edit the
4
# /usr/local/bin/ntpd line to fit.
5
#
6
kill -INT
`ps -ax | egrep "ntpd" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`
7
sleep
10
8
/
usr
/
local
/
bin
/
ntpd
-g
9
/
usr
/
local
/
bin
/
ntp-wait
10
exit
0