Commit b9f666b8 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix to allow installing on older images. Sigh, sup suxs.

parent 8f3fd829
...@@ -32,6 +32,10 @@ if [ -x $BOOTDIR/rc.ifc ]; then ...@@ -32,6 +32,10 @@ if [ -x $BOOTDIR/rc.ifc ]; then
$BOOTDIR/rc.ifc $BOOTDIR/rc.ifc
fi fi
#
# The check for rc.delay below is to support this being installed
# on older 4.7 images!
#
if [ -x $BINDIR/delaysetup ]; then if [ -x $BINDIR/delaysetup ]; then
echo "Checking Testbed delay configuration ..." echo "Checking Testbed delay configuration ..."
$BINDIR/delaysetup $BINDIR/delaysetup
...@@ -49,6 +53,13 @@ if [ -x $BINDIR/delaysetup ]; then ...@@ -49,6 +53,13 @@ if [ -x $BINDIR/delaysetup ]; then
echo "Setting up Testbed interface routing ..." echo "Setting up Testbed interface routing ..."
$BOOTDIR/rc.route enable $BOOTDIR/rc.route enable
fi fi
elif [ -x $BOOTDIR/rc.delay ]; then
# Note: no routing on delay nodes.
echo "Setting up Testbed delay configuration ..."
$BOOTDIR/rc.delay
elif [ -x $BOOTDIR/rc.route ]; then
echo "Setting up Testbed interface routing ..."
$BOOTDIR/rc.route enable
fi fi
if [ -x $BOOTDIR/rc.rpm ]; then if [ -x $BOOTDIR/rc.rpm ]; then
......
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