bash script - ISDN

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Jul 15 10:20:09 CEST 2002


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.

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw at lug-owl.de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020715/2bf76172/attachment.sig>


More information about the Linux mailing list