[Udpcast] Action on success or failure

Stephane steph2607 at tiscali.fr
Wed Jan 9 14:56:32 CET 2008


Cast-o-matic allows rebooting on success.
I suppose it's /post job:


if [ $1 = 0 ] ; then exec reboot -f; else echo "Error. Not rebooting";fi

But I'm not sure I understand $1
Does it mean /post is launched with $? udp-receiver return as first parameter 


More information about the Udpcast mailing list