hamachi.servis 238 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. #
  3. # /etc/rc.d/hamachi: start/stop hamachi daemon
  4. #
  5. case $1 in
  6. start)
  7. /usr/bin/hamachi
  8. ;;
  9. stop)
  10. killall -q hamachi
  11. ;;
  12. restart)
  13. $0 stop
  14. sleep 2
  15. $0 start
  16. ;;
  17. *)
  18. echo "usage: $0 [start|stop|restart]"
  19. ;;
  20. esac
  21. # End of file