sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c08a4c002270634af576fa0b170691f55010b13e
parent df7efdf2901e78024ee9bebff78052daa38378bf
Author: Nico Golde <nico@ngolde.de>
Date:   Mon,  1 Mar 2010 20:05:18 +0100

replace ii client/connect loop, thx Jason Dunsmore
Diffstat:
Mtools.suckless.org/ii.md | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/tools.suckless.org/ii.md b/tools.suckless.org/ii.md @@ -85,10 +85,15 @@ Automatic reconnects If you want some kind of automatic reconnects in ii you can make a something like this in a shell script: - while true ; do - ( sleep 5 && echo "/j #ii" > ~/irc/irc.oftc.net/in ) & + while true; do ii -s irc.oftc.net -n iifoo -f "John Doe" - done + iipid=$! + sleep 5 + echo "/j #ii" > ~/irc/irc.oftc.net/in + while [[ -e /proc/$iipid ]]; do + sleep 30 + done + done IPv6 ----