****************************************
* 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
--
Bhargav Bhatt,
Department of Applied Physics and Applied Mathematics,
Columbia University.
--
"If English was commutative, we could all talk like Yoda." - Anonymous.
--
http://www.columbia.edu/~bbb2004
--
_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers