Commit 459b3687 authored by Mike Hibler's avatar Mike Hibler

tweak to cvsup invocation to avoid embedding boss name in supfile

parent 3f150979
......@@ -7,7 +7,11 @@
echo "Checking for file updates ..."
export HOME=/root
/usr/local/bin/cvsup -e -1 -g -L 1 /etc/testbed/supfile
if [ -f /etc/testbed/supfile ]; then
set -- `/etc/testbed/tmcc bossinfo`
/usr/local/bin/cvsup -h $1 -e -1 -g -L 1 /etc/testbed/supfile
fi
if [ -x /etc/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
......
......@@ -7,7 +7,11 @@
echo "Checking for file updates ..."
export HOME=/root
/usr/local/bin/cvsup -e -1 -g -L 1 /etc/rc.d/testbed/supfile
if [ -f /etc/rc.d/testbed/supfile ]; then
set -- `/etc/rc.d/testbed/tmcc bossinfo`
/usr/local/bin/cvsup -h $1 -e -1 -g -L 1 /etc/rc.d/testbed/supfile
fi
if [ -x /etc/rc.d/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
......
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