Commit 309d6ebc authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add startup of new linktest daemon.

parent e60a01c7
...@@ -123,6 +123,20 @@ if [ -x $BINDIR/evproxy -a -r $BOOTDIR/nickname ]; then ...@@ -123,6 +123,20 @@ if [ -x $BINDIR/evproxy -a -r $BOOTDIR/nickname ]; then
$BINDIR/evproxy -s $BOSSIP -e `cat $BOOTDIR/nickname | awk -F. '{print $3"/"$2}'` $BINDIR/evproxy -s $BOSSIP -e `cat $BOOTDIR/nickname | awk -F. '{print $3"/"$2}'`
fi fi
#
# Start the linktest daemon. It talks to the elvind on boss also.
#
if [ ! -x $BOOTDIR/rc.delay -a -x $BINDIR/linktest -a -r $BOOTDIR/nickname ]; then
echo "Starting linktest daemon ..."
# XXX find our boss IP.
if [ -r $BOOTDIR/bossip ]; then
BOSSIP=`cat $BOOTDIR/bossip`
else
BOSSIP=`$BINDIR/tmcc bossinfo | awk '{print $2}'`
fi
$BINDIR/linktest -s $BOSSIP -e `cat $BOOTDIR/nickname | awk -F. '{print $3"/"$2}'`
fi
if [ -x $BINDIR/rc.agents ]; then if [ -x $BINDIR/rc.agents ]; then
$BINDIR/rc.agents $BINDIR/rc.agents
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment