Dear Bhargav, if ppp0 is not active,
the line ifconfig ppp0 > temp shows error.
what does [-z temp] function do ?
On Wed, 2003-01-01 at 16:48, Bhargav Bhatt wrote:
- LUG meet on 12 Jan. 2003 @ VJTI
On Wednesday 01 January 2003 05:51 am, Vinod wrote:
How can I check whether ppp0 is active (A script has to check and then if the status is true, update.php module has to execute).
#!/bin/sh ifconfig ppp0 > temp if [-z temp] then else <put ur script here> fi rm temp