summaryrefslogtreecommitdiff
path: root/package/rdate/files/rdate.init
blob: 34bcea663faf84ac202a79f57ae342cb9f6ec4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#PKG rdate
#INIT 54
. /etc/rc.conf

case $1 in
autostart|start|restart)
	test x"${rdate:-NO}" = x"NO" && exit 0
	rdate $rdate_flags
	;;
autostop|stop)
	;;
*)
	echo "Usage: $0 {start | stop | restart}"
	exit 1
	;;
esac
exit $?