Re: [Debian-eeepc-devel] suggestions for eeepc-acpi-scripts
- To: debian-arm@lists.debian.org
- Subject: Re: [Debian-eeepc-devel] suggestions for eeepc-acpi-scripts
- From: Kurt Pruenner <leak@gmx.at>
- Date: Sun, 08 Jun 2008 23:21:47 +0200
- Message-id: <[🔎] 484C4D6B.9000002@gmx.at>
- In-reply-to: <20080608210317.GA31857@rigacci.org>
- References: <484C1B30.9000107@free.fr> <20080608190655.GA16698@rigacci.org> <484C3EE6.4030706@free.fr> <20080608210317.GA31857@rigacci.org>
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)
Reply to: