From 9c488b4fa9eb13a90bc149f15b2147cfb792fb2f Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" <stoller@flux.utah.edu> Date: Wed, 27 Oct 2004 21:49:50 +0000 Subject: [PATCH] Query tmcc for bossinfo to pass as -s argument to slothd, so that it does not use its compiled in name, which is qualified and points to outer boss instead of the closest living boss. --- tmcd/common/rc.slothd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tmcd/common/rc.slothd b/tmcd/common/rc.slothd index 579b3d1e2c..a024b06777 100755 --- a/tmcd/common/rc.slothd +++ b/tmcd/common/rc.slothd @@ -15,7 +15,10 @@ fi . /etc/emulab/paths.sh -ARGS= +BOSSINFO=`$BINDIR/tmcc bossinfo` +BOSSNAME=`echo $BOSSINFO | awk '{ print $1 }'` + +ARGS='-s $BOSSNAME ' SEDCMD='sed -e s/^.*=\(.*\)/\1/' start () { -- GitLab