Commit 41c9582e authored by Mike Hibler's avatar Mike Hibler
Browse files

accept either ROUTERTYPE gated or ospf

parent bff0bb07
#!/bin/sh #!/bin/sh
# We only handle gated right now # We only handle gated right now
if [ "$1"x != "ROUTERTYPE=gated"x ] case $1 in
then ROUTERTYPE=gated | ROUTERTYPE=ospf)
;;
*)
echo "WARNING bad TMCD routing info, gated not started" echo "WARNING bad TMCD routing info, gated not started"
exit 0 exit 0
fi ;;
esac
# Must know the control net # Must know the control net
if [ -x /etc/testbed/control_interface ] if [ -x /etc/testbed/control_interface ]
......
#!/bin/sh #!/bin/sh
# We only handle gated right now # We only handle gated right now
if [ "$1"x != "ROUTERTYPE=gated"x ] case $1 in
then ROUTERTYPE=gated | ROUTERTYPE=ospf)
;;
*)
echo "WARNING bad TMCD routing info, gated not started" echo "WARNING bad TMCD routing info, gated not started"
exit 0 exit 0
fi ;;
esac
# Must know the control net # Must know the control net
if [ -x /etc/testbed/control_interface ] if [ -x /etc/testbed/control_interface ]
......
Supports Markdown
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