shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [shell-script] Código de escape


From: MrBiTs
Subject: RE: [shell-script] Código de escape
Date: Tue, 19 Jul 2005 18:49:29 -0300

/*
Por que vc não faz VAR=$?

ou

 if [ $? != 0 ];then 

LOGO apos a execução do ifconfig... ?
*/

Ou pode fazer direto:

if ! ifconfig ppp0 > /dev/null 2>&1 ; then
        /sbin/adsl-start
fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]