bash script - ISDN
Volker Gueth
vgueth at uni-bielefeld.de
Mon Jul 15 10:29:02 CEST 2002
On Mon, Jul 15, 2002 at 10:19:38AM +0200, Jan-Benedict Glaw wrote:
> On Sun, 2002-07-14 18:50:31 +0200, Philipp Suek <gnubier at upb.de>
> wrote in message <00a501c22b56$9e35c120$0200a8c0 at suek.home>:
> > Hallo,
> >
> > habe vollgendes Script, welches nicht funktioniert:
> >
> > #!/bin/sh
> > isdnctrl dial ippp2
> >
> > // Aufbau einer ISDN Verbindung mit 50 Versuchen. Weiß aber nicht ob das
> > funktioniert.
> > if [ 'exec isdnctrl status ippp2' != "ippp2 connected to nummer"] ; then
>
> "exec" ist das Problem - danach existiert das Script nicht mehr und kann
> damit auch den Text nicht mehr vergleichen.
Was soll das ganze überhaupt? Per dialmax im isdnctrl kann man
einstellen wie oft er eine Anwahl versuchen soll und per
/etc/ppp/ip-up.local oder ip-up kann man danach Scripte ausführen.
Bye Volker
More information about the Linux
mailing list