Show
Ignore:
Timestamp:
08/20/08 16:53:45 (4 years ago)
Author:
Ted Faber <faber@…>
Children:
d0ae12d132a15761aec26000e42160013fd808de
Parents:
6679c1229f23e2cd02f0f411c4b107c08713c28b
git-committer:
Ted Faber <faber@isi.edu> / 2008-08-20T23:53:45Z+0000
Message:

stop the routing daemon before we restart it

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fedkit/make_hosts

    r7c3008e 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