Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
41c9582e
Commit
41c9582e
authored
Dec 21, 2001
by
Mike Hibler
Browse files
accept either ROUTERTYPE gated or ospf
parent
bff0bb07
Changes
2
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/rc.route
View file @
41c9582e
#!/bin/sh
# We only handle gated right now
if
[
"
$1
"
x
!=
"ROUTERTYPE=gated"
x
]
then
case
$1
in
ROUTERTYPE
=
gated
|
ROUTERTYPE
=
ospf
)
;;
*
)
echo
"WARNING bad TMCD routing info, gated not started"
exit
0
fi
;;
esac
# Must know the control net
if
[
-x
/etc/testbed/control_interface
]
...
...
tmcd/linux/rc.route
View file @
41c9582e
#!/bin/sh
# We only handle gated right now
if
[
"
$1
"
x
!=
"ROUTERTYPE=gated"
x
]
then
case
$1
in
ROUTERTYPE
=
gated
|
ROUTERTYPE
=
ospf
)
;;
*
)
echo
"WARNING bad TMCD routing info, gated not started"
exit
0
fi
;;
esac
# Must know the control net
if
[
-x
/etc/testbed/control_interface
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment