Created
December 14, 2017 17:22
-
-
Save 27Cobalter/2ce00b50f7815a6a1139a50f1ea1a995 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
#!/usr/bin/sh | |
servers_dir="/disk/sdb2/Game/minecraft/Server" | |
server_profile=`ls $servers_dir | peco` | |
[[ -z $server_profile ]] && exit 1 | |
echo "START $server_profile" | |
cd $servers_dir/"$server_profile" | |
sh -c '`cat start.bat | grep java | nkf -d`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment