Article View: es.comp.os.linux.programacion
Article #15950Re: script para pppd
From: Santiago Romero
Date: Tue, 23 May 2000 00:00
Date: Tue, 23 May 2000 00:00
42 lines
1792 bytes
1792 bytes
El Tue, 23 May 2000 19:55:44 +0200, EstEl escribi�: >>> #!/bin/bash >>> pppd >>> wait >>> sendmail -q >>> wait >>> fetchmail >>> wait >>Pues no funciona, da lo mismo con o sin wait !! >>Alguna idea para hacer mi script ? que pa que pa? �y porque no usais mi peazo de fistro de script? :-> pppd file /etc/ppp/options-jet while !(ifconfig | grep ppp0 ) >/dev/null do sleep 1 echo -ne "." done echo . sleep 10 echo Conectado. echo Enviando correo en cola... sendmail -q echo Recogiendo correo entrante... fetchmail echo Recogiendo y enviando news... fetchnews -nvv killall pppd alarllllllllllllllll :) -- Refranero: "M�s vale Linux en mano que Windows colgado." _-----------------------------------------------------_ | NoP / Compiler -- nop_linux @ yahoo.com | |-------------------------------------------------------| | POWERED BY - Linux RedHat 6.0 - Reg. User #74.821 | | http://web.jet.es/s.romero | ~-----------------------------------------------------~
Technical Details
Message-ID:
<slrn8ilsr6.2te.nop_linux@compiler.linux.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<391ECB35.F69BB4F3@artese.com.ar> <slrn8hu6ks.4na.scandisk@localhost.localdomain> <Pine.LNX.4.21.0005212302480.987-100000@localhost.localdomain> <0ngeg8.n5.ln@debian>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,88e65a3851095cd5,start X-Google-Attributes: gidf86c8,public From: nop_linux@yahoo.com (Santiago Romero) Subject: Re: script para pppd Date: 2000/05/23 Message-ID: <slrn8ilsr6.2te.nop_linux@compiler.linux.es> X-Deja-AN: 626458695 Content-Transfer-Encoding: 8bit References: <391ECB35.F69BB4F3@artese.com.ar> <slrn8hu6ks.4na.scandisk@localhost.localdomain> <Pine.LNX.4.21.0005212302480.987-100000@localhost.localdomain> <0ngeg8.n5.ln@debian> Content-Type: text/plain; charset=iso-8859-1 Organization: Telefonica Transmision de Datos Mime-Version: 1.0 User-Agent: slrn/0.9.6.2 (Linux) Reply-To: nop_linux@yahoo.com Newsgroups: es.comp.os.linux.programacion