removed unnessecary sudo
This commit is contained in:
parent
7aef16ee93
commit
94ffab2b59
@ -29,18 +29,18 @@ fi
|
||||
if [ "$1" = "-f" ]
|
||||
then
|
||||
# Gimme the console
|
||||
sudo screen -xr $server
|
||||
screen -xr $server
|
||||
# Now gimme my suxesvul eksid koud...
|
||||
true
|
||||
elif [ "$1" = "-ff" ]
|
||||
then
|
||||
# Hand me the console over
|
||||
sudo screen -dr $server
|
||||
screen -dr $server
|
||||
# Now gimme my suxesvul eksid koud...
|
||||
true
|
||||
else
|
||||
# Gimme the console, plz...
|
||||
sudo screen -rq $server
|
||||
screen -rq $server
|
||||
if [ $? -gt 0 ]
|
||||
then
|
||||
# If the console is attached elsewhere, say it
|
||||
|
@ -24,7 +24,7 @@ then
|
||||
cd /media/games/$server/
|
||||
# start the screen with Socket name & title "bukkit"
|
||||
# and run the start script
|
||||
sudo screen -dmS $server -t $server ./start.sh
|
||||
screen -dmS $server -t $server ./start.sh
|
||||
# Now gimme my suxesvul eksit koud...
|
||||
true
|
||||
else
|
||||
|
@ -17,7 +17,7 @@ fi
|
||||
|
||||
# Is there a window with name "bukkit" already running in screen?
|
||||
# We don't need your fukcing text, ew...
|
||||
sudo screen -ls $server > /dev/null
|
||||
screen -ls $server > /dev/null
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
# If the screen window is indeed running, shout it in my
|
||||
|
Loading…
Reference in New Issue
Block a user