Commit b9f666b8 authored by Leigh Stoller's avatar Leigh Stoller

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

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