Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! /bin/sh
- ### BEGIN INIT INFO
- # Provides: Shairport
- # Required-Start:
- # Required-Stop:
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: Skript zum Starten/Beenden/Neustarten von Shairport
- # Description: Längere Bechreibung
- ### END INIT INFO
- # Author: Luca Becker
- # Aktionen
- case "$1" in
- start)
- perl /opt/shairport.pl
- ;;
- stop)
- /opt/beispiel stop
- ;;
- restart)
- /opt/beispiel restart
- ;;
- esac
- exit 0
Add Comment
Please, Sign In to add comment