[wiki] [sites] wiki updated
changeset: 463:4ca1ce6519a3
tag: tip
user: Nico Golde <nico_AT_ngolde.de>
date: Mon Mar 01 20:05:18 2010 +0100
files: tools.suckless.org/ii.md
description:
replace ii client/connect loop, thx Jason Dunsmore
diff -r 2f4262cc578f -r 4ca1ce6519a3 tools.suckless.org/ii.md
--- a/tools.suckless.org/ii.md Fri Feb 26 18:39:15 2010 +0100
+++ b/tools.suckless.org/ii.md Mon Mar 01 20:05:18 2010 +0100
_AT_@ -85,10 +85,15 @@
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
----
Received on Mon Mar 01 2010 - 20:06:46 CET
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:31:09 CEST