1
0

rdate.init 236 B

123456789101112131415161718
  1. #!/bin/sh
  2. #PKG rdate
  3. #INIT 54
  4. . /etc/rc.conf
  5. case $1 in
  6. autostart|start|restart)
  7. test x"${rdate:-NO}" = x"NO" && exit 0
  8. rdate $rdate_flags
  9. ;;
  10. autostop|stop)
  11. ;;
  12. *)
  13. echo "Usage: $0 {start | stop | restart}"
  14. exit 1
  15. ;;
  16. esac
  17. exit $?