index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-02-11 13:36:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-11 13:36:01 +0100 |
commit | 1345249087bfd9514c3874d7f1399dcf3597ad5f (patch) | |
tree | da923dc20f7165e55b8e5a2e3593bfc71b9443d5 | |
parent | b9a6c3c44d226ba4afaa941448b4a9b480a77505 (diff) |
-rwxr-xr-x | bin/ii-connect | 11 |
diff --git a/bin/ii-connect b/bin/ii-connect index 8081cf0..652f94a 100755 --- a/bin/ii-connect +++ b/bin/ii-connect @@ -12,13 +12,12 @@ while ! grep -qF 'This nickname is registered. Please choose a different nicknam sleep 1 done -# register -printf 'identify %s\n' "${irc_password}" | \ - sponge "${irc_dir}/nickserv/in" - # wait for registering to succeed -while ! grep -qF 'You are now identified for' "${irc_dir}/nickserv/out"; do - sleep 1 +while ! grep -q 'You are \(now identified for\|already logged in as\) ' "${irc_dir}/nickserv/out"; do + # register + printf 'identify %s\n' "${irc_password}" | \ + sponge "${irc_dir}/nickserv/in" + sleep 5 done # join channel |