From: Cuddles <cu...@fl...> - 2005-01-26 21:56:55
|
Yes, that would work... :) BUT (there's always a but) it would require the script to be run 6 times (at least, on my network)... However, for now I guess it would work. :) Thanks! Mike Michael Reinelt wrote: > Hi there, > > I think you can achieve this with the current lcd4linux and the exec > plugin. > > write a little shell script: > > system_status.sh > > #! /bin/bash > ping $1 -w 5 -c 1 >/dev/null && echo "ok" || echo "error" > > > and use the exec plugin: > > exec('/home/me/system_status.sh 192.168.0.1', 10000) > > WARNING: this is untested! > > > bye, Michael |