rdate.init 232 B

12345678910111213141516171819
  1. #!/bin/sh
  2. #PKG rdate
  3. #INIT 54
  4. . /etc/rc.conf
  5. case $1 in
  6. autostart|start|restart)
  7. [[ $rdate_flags = 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 $?