Re: Ping vor uucico

From: Oliver Fromme <olli(at)secnetix.de>
Date: Wed, 3 Apr 2002 18:20:00 +0200 (CEST)

Matthias Teege <matthias(at)mteege.de> wrote:
> On Wed, Apr 03, 2002 at 03:08:28PM +1000, Hendrik Scholz wrote:
> > uustat -a sollte Dir anzeigen, ob was zu tun ist.
> > Also sollte folgendes den uucico nur starten, wenn es wirklich
> > noetig ist:
> > if [ `uustat -a |wc -l` > 0 ] ; then ping ... uucico ; fi
>
> So geht es natürlich auch. Allerdings sollte es wohl besser != 0
> heißen. Andernfalls hat man die Datei "0" auf der Platte.

Für numerischen Vergleich sollte man -gt (größer als) oder
-ne (ungleich) verwenden. »!=« ist für Strings.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 03 Apr 2002 - 18:20:03 CEST

search this site