Niccolo Rigacci wrote:
> jcsid wrote:
> > Not 1, not 2 and not 10....
> > I tried this and it works:
> 
> case $1 in
>     on)
>         enable
>         if ! ifconfig ath0 up; then
>             disable
>             enable;
>         fi
>         ;;
> 
> Can you see how many times the disable/enable loop runs?

What loop? The above calls enable either once or twice...

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
np: ยต-Ziq - Secret Stair Pt. 1 (Lunatic Harness)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to