Changeset 7add1a3 for fedkit


Ignore:
Timestamp:
Aug 20, 2008 4:53:45 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
d0ae12d
Parents:
6679c122
Message:

stop the routing daemon before we restart it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/make_hosts

    r6679c122 r7add1a3  
    88cp /tmp/hosts /etc/hosts && rm /tmp/hosts
    99
    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.
     11if [ -x "/usr/bin/pkill" ] ; then
     12        PKILL="/usr/bin/pkill"
     13else
     14        if [ -x "/bin/pkill" ] ; then
     15                PKILL="/bin/pkill"
     16        else
     17                PKILL="echo"
    1618        fi
    1719fi
    18 /usr/local/etc/emulab/rc/rc.route
    1920
    2021# SEER feels pain and confusion if times are wrong.  This lays a big lick on
     
    3435                ;;
    3536esac
     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.
     47if [ ! -x /usr/sbin/gated ] ; then
     48        if [ -x /sbin/gated ] ; then
     49                ln /sbin/gated /usr/sbin/gated
     50        fi
     51fi
     52/usr/local/etc/emulab/rc/rc.route
     53
    3654
    3755# Execute any command passed in as a startcmd.  This basically daisy chains the
Note: See TracChangeset for help on using the changeset viewer.