connect via TLS
This commit is contained in:
parent
42106d11a6
commit
6a0ee2ac53
12
start.sh
12
start.sh
@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
BOTNICK="uugbot2"
|
BOTNICK="uugbot"
|
||||||
SERVER="irc.uugrn.org"
|
SERVER="irc.uugrn.org"
|
||||||
PORT="6660"
|
PORT="6670"
|
||||||
CHANNEL="#bottest"
|
CHANNEL="#uugrn"
|
||||||
|
|
||||||
BOTDIR="$PWD"
|
BOTDIR="$PWD"
|
||||||
|
|
||||||
@ -183,9 +183,11 @@ cd "$BOTDIR"
|
|||||||
# available
|
# available
|
||||||
|
|
||||||
echo "connecting."
|
echo "connecting."
|
||||||
ii -i $BOTDIR/irc -s $SERVER -p $PORT -n $BOTNICK &
|
ii -i $BOTDIR/irc -s $SERVER -t -p $PORT -n $BOTNICK &
|
||||||
PID=$!
|
PID=$!
|
||||||
sleep 1
|
|
||||||
|
# wait until the background process is ready
|
||||||
|
sleep 6
|
||||||
echo "/join $CHANNEL" > $BOTDIR/irc/$SERVER/in
|
echo "/join $CHANNEL" > $BOTDIR/irc/$SERVER/in
|
||||||
sleep 1
|
sleep 1
|
||||||
echo "ready."
|
echo "ready."
|
||||||
|
Loading…
Reference in New Issue
Block a user