CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dropbear: moved from core collection
[attic/ports/opt-cross.git] / ntp / ntpdate
1 #!/bin/sh
2 #
3 # /etc/rc.d/ntpdate: sync time via ntp
4 #
5
6 case $1 in
7 start)
8 /usr/bin/ntpdate pool.ntp.org 1>/dev/null &
9 ;;
10 stop)
11 ;;
12 restart)
13 $0 start
14 ;;
15 *)
16 echo "usage: $0 [start|stop|restart]"
17 ;;
18 esac
19
20 # End of file