Skip to content

Instantly share code, notes, and snippets.

@jyc
Forked from anonymous/stop.sh
Created December 29, 2011 01:27
Show Gist options
  • Save jyc/1530995 to your computer and use it in GitHub Desktop.
Save jyc/1530995 to your computer and use it in GitHub Desktop.
#!/bin/bash
. common.sh
SLEEP_INT=10
send "say The server is shutting down in 10 seconds."
send "say Saving the map..."
send "save-all"
sleep $SLEEP_INT
send "stop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment