Created
December 5, 2012 16:48
-
-
Save Htbaa/4217311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: Maximus | |
# Required-Start: $syslog $network | |
# Required-Stop: $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Maximus script | |
# Description: Maximus script | |
### END INIT INFO` | |
if [ -x /home/christiaan/initscripts/maximus ]; | |
then | |
/home/christiaan/initscripts/maximus $1 | |
else | |
echo "Required program /home/christiaan/initscripts/maximus not found!" | |
exit 1; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment