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
CommitLineData
a9bbe5f2
VM
1#!/bin/sh
2#
3# /etc/rc.d/ntpdate: sync time via ntp
4#
5
6case $1 in
7start)
8 /usr/bin/ntpdate pool.ntp.org 1>/dev/null &
9 ;;
10stop)
11 ;;
12restart)
13 $0 start
14 ;;
15*)
16 echo "usage: $0 [start|stop|restart]"
17 ;;
18esac
19
20# End of file