Skip to content

Instantly share code, notes, and snippets.

@nlacourte
Created April 14, 2014 09:37
Show Gist options
  • Save nlacourte/10632463 to your computer and use it in GitHub Desktop.
Save nlacourte/10632463 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# fake init script for automate testing
#
#
. /etc/init.d/functions
case "$1" in
start)
echo "fake start"
exit 0
;;
stop)
echo "fake stop"
exit 0
;;
*)
echo "Usage $prog {start|stop}"
exit 2
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment