xentaur

changeset 13:de23c23ef4ac

mini fix
author igor
date Fri Sep 14 12:59:55 2007 +0300 (2007-09-14)
parents 54c51dea92a2
children 10181dc19a7a
files build-xenomips-image files/xenomips.sh
line diff
     1.1 --- a/build-xenomips-image	Fri Sep 14 12:04:44 2007 +0300
     1.2 +++ b/build-xenomips-image	Fri Sep 14 12:59:55 2007 +0300
     1.3 @@ -81,7 +81,7 @@
     1.4  iface lo inet loopback 
     1.5          up for i in \`ifconfig -a | grep 'eth.*Link encap' | awk '{print \$1}'\`; do ifconfig \$i up ; done || true
     1.6  
     1.7 -iface eth0 inet dhcp
     1.8 +#iface eth0 inet dhcp
     1.9  INTERFACES
    1.10  
    1.11  echo /usr/local/bin/xenomips.sh > /etc/rc.local
     2.1 --- a/files/xenomips.sh	Fri Sep 14 12:04:44 2007 +0300
     2.2 +++ b/files/xenomips.sh	Fri Sep 14 12:59:55 2007 +0300
     2.3 @@ -5,7 +5,7 @@
     2.4      DYNAMIPS_WORKDIR="/xenomips/config"
     2.5      DYNAMIPS_ARGS=`cat /proc/cmdline | sed 's/.*xenomips="//; s/".*//'`
     2.6      cd "$DYNAMIPS_WORKDIR"
     2.7 -    screen -e '^xx' -d -m sh -c 'while true; do dynamips '$DYNAMIPS_ARGS' ; done'
     2.8 +    screen -e '^xx' -d -m sh -c "while true; do dynamips $DYNAMIPS_ARGS ; done"
     2.9  else
    2.10      /etc/init.d/quagga start
    2.11      screen -e '^xx' -d -m sh -c 'while true; do vtysh; done'