xref: /freebsd-src/contrib/ntp/scripts/rc/ntpwait (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert#!/bin/sh
2*2b15cb3dSCy Schubert
3*2b15cb3dSCy SchubertNTPWAIT=/usr/sbin/ntpwait
4*2b15cb3dSCy Schubert
5*2b15cb3dSCy Schubertntpwait_start() {
6*2b15cb3dSCy Schubert    $NTPWAIT -v
7*2b15cb3dSCy Schubert}
8*2b15cb3dSCy Schubert
9*2b15cb3dSCy Schubertcase "$1" in
10*2b15cb3dSCy Schubert    'start')
11*2b15cb3dSCy Schubert        ntpwait_start
12*2b15cb3dSCy Schubert        ;;
13*2b15cb3dSCy Schubert    *)
14*2b15cb3dSCy Schubert        echo "Usage: $0 (start)"
15*2b15cb3dSCy Schubertesac
16