Article View: es.comp.os.linux.programacion
Article #11735Re: Guión de bash
From: Reinoso G.
Date: Fri, 12 Oct 2001 18:19
Date: Fri, 12 Oct 2001 18:19
23 lines
2130 bytes
2130 bytes
El otro d�a, J.R. nos estuvo contando:
>
> anterior y la del Autostart. �C�mo podr�a hacer que si ya est�
> funcionando no lo vuelva a iniciar?
>
Yo tengo esto en la recogida del correo, a ver si te vale:
if ( (ifconfig | grep ppp0 > /dev/null) &&
! (ps a | grep popmail | grep --invert-match -e grep > /dev/null)
) then
...
esto hace que s�lo se ejecute el script cuando est� en red y adem�s no
haya un proceso popmail en ejecuci�n.
Saludos.
--
�������������������������������������������������������������������������
�� Reinoso G. EA4BAO / MiKatp r einoso.bao@wanadoo.e s ��
�� http://perso.wanadoo.es/reinoso.bao ��
�������������������������������������������������������������������������
Technical Details
Message-ID:
<slrn9sed1s.tp.reinoso@EA4BAO.PLLANO.ESP.EU>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62-37-92-111.dialup.uni2.ES!not-for-mailReferences:
<2M%v7.75097$vW.79512@telenews.teleline.es>Show Full Headers
Complete Article Headers
X-Google-Language: PORTUGUESE,ASCII X-Google-Thread: f86c8,f453d49be66d7056 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-10-12 12:00:49 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62-37-92-111.dialup.uni2.ES!not-for-mail From: reinoso@probando.com (Reinoso G.) Newsgroups: es.comp.os.linux.programacion Subject: Re: Guión de bash Date: Fri, 12 Oct 2001 20:19:40 +0200 Organization: Puertollano CITY Lines: 23 Message-ID: <slrn9sed1s.tp.reinoso@EA4BAO.PLLANO.ESP.EU> References: <2M%v7.75097$vW.79512@telenews.teleline.es> Reply-To: rei noso.bao@wanadoo.e s NNTP-Posting-Host: 62-37-92-111.dialup.uni2.es (62.37.92.111) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1002913246 23073122 62.37.92.111 (16 [106654]) X-Orig-Path: EA4BAO.PLLANO.ESP.EU!nobody User-Agent: slrn/0.9.7.1 (Linux)