Skip to content

Instantly share code, notes, and snippets.

@aeppert
Created January 6, 2017 16:13
Show Gist options
  • Select an option

  • Save aeppert/51a42e48d25fd6c23dbca5f23178af59 to your computer and use it in GitHub Desktop.

Select an option

Save aeppert/51a42e48d25fd6c23dbca5f23178af59 to your computer and use it in GitHub Desktop.
#!/bin/bash
start() {
echo "Starting"
}
stop() {
echo "Stopping"
}
case $1 in
start|stop) "$1" ;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment