removed unnessecary sudo

This commit is contained in:
Johannes Schmelz 2022-01-15 14:05:19 +01:00
parent 7aef16ee93
commit 94ffab2b59
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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