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

Re: Clustering'



On Mon, Oct 21, 2002 at 12:45:59AM +0200, Artur Grabowski wrote:

> We  should probably  just provide  a script  that says  "cluster
> started"

Ask and ye shall receive!

----8<----add to /etc/rc.conf.local----8<----
clustering=YES
---->8---->8----

----8<----add to /etc/rc.local----8<----
if [ X"${clustering}" == X"YES" -a -x /usr/local/bin/cluster ]; then
    echo -n ' clustering'
    /usr/local/bin/cluster --use-afterburner
fi
---->8---->8----

----8<----/usr/local/bin/cluster----8<----
#!/bin/sh

echo -n "Joining the Ubercluster..." > /dev/null
sleep 4
echo "joined." > /dev/null
---->8---->8----

Cheers,

b&

--
Ben Goren
 mailto:ben_(_at_)_trumpetpower_(_dot_)_com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W

[demime 0.98d removed an attachment of type application/pgp-signature]



Visit your host, monkey.org