| 10 | | |
| 11 | | # XXX Danger, hack ahead. Apparently our FC6-SMB image and emulab disagree |
| 12 | | # about where gated lives. This will alias it. |
| 13 | | if [ ! -x /usr/sbin/gated ] ; then |
| 14 | | if [ -x /sbin/gated ] ; then |
| 15 | | ln /sbin/gated /usr/sbin/gated |
| | 10 | # Find the right version of pkill. For killing. |
| | 11 | if [ -x "/usr/bin/pkill" ] ; then |
| | 12 | PKILL="/usr/bin/pkill" |
| | 13 | else |
| | 14 | if [ -x "/bin/pkill" ] ; then |
| | 15 | PKILL="/bin/pkill" |
| | 16 | else |
| | 17 | PKILL="echo" |
| | 37 | # I remain unclear why ospfd seems screwed up after the resetting of accounts |
| | 38 | # and mounts. This seems to fix it, but it's not very satisfying. At this |
| | 39 | # point the federated topology is complete, so any problems with routing in a |
| | 40 | # partial topology -e.g. failed or partial bridging - that might have confused |
| | 41 | # the router should be gone. |
| | 42 | $PKILL ospf |
| | 43 | $PKILL gated |
| | 44 | |
| | 45 | # XXX Danger, hack ahead. Apparently our FC6-SMB image and emulab disagree |
| | 46 | # about where gated lives. This will alias it. |
| | 47 | if [ ! -x /usr/sbin/gated ] ; then |
| | 48 | if [ -x /sbin/gated ] ; then |
| | 49 | ln /sbin/gated /usr/sbin/gated |
| | 50 | fi |
| | 51 | fi |
| | 52 | /usr/local/etc/emulab/rc/rc.route |
| | 53 | |