Commit fd060981 authored by David Johnson's avatar David Johnson

Bugfix to previous commit.

parent 0af8c1c0
......@@ -71,7 +71,7 @@ fi
# If this is an aggregate boss/nuc/etc, add a route via the /29 gateway
# for that aggregate. Won't have to do this in the real thing.
#
aggprefix=`echo $HOSTNAME | sed -nre 's/^agg([0-9]*)[a-zA-Z].*$/\1/p'`
aggprefix=`echo $HOSTNAME | sed -nre 's/^(agg[0-9]*)[a-zA-Z].*$/\1/p'`
if [ -n $aggprefix ] ; then
eval "varname=${aggprefix}_GW"
eval "agg_gw=\$$varname"
......
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