From 5b25370f85ba3209f0aa92a8d8122513df469a32 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Sep 2016 15:06:19 +0200 Subject: [PATCH] bot pass is now an argument instead of being prompted --- autolaunch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autolaunch.sh b/autolaunch.sh index b74532f..5a76aaa 100644 --- a/autolaunch.sh +++ b/autolaunch.sh @@ -1,5 +1,4 @@ #!/bin/sh -read -s -p "bot password ?" botpass mkdir build while true do @@ -8,6 +7,6 @@ do qmake-qt5 ../SparrowBot.pro make cd bin - ./SparrowBot -nogui nick=SirSparrow pass=$botpass chan=epicsparrow server=irc.freenode.net port=6667 + ./SparrowBot -nogui nick=SirSparrow pass=$1 chan=epicsparrow server=irc.freenode.net port=6667 cd ../.. done