Guest User

Untitled

a guest
May 28th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides: Shairport
  4. # Required-Start:
  5. # Required-Stop:
  6. # Default-Start: 2 3 4 5
  7. # Default-Stop: 0 1 6
  8. # Short-Description: Skript zum Starten/Beenden/Neustarten von Shairport
  9. # Description: Längere Bechreibung
  10. ### END INIT INFO
  11. # Author: Luca Becker
  12.  
  13. # Aktionen
  14. case "$1" in
  15. start)
  16. perl /opt/shairport.pl
  17. ;;
  18. stop)
  19. /opt/beispiel stop
  20. ;;
  21. restart)
  22. /opt/beispiel restart
  23. ;;
  24. esac
  25.  
  26. exit 0
Add Comment
Please, Sign In to add comment