# HG changeset patch # User igor # Date 1189763995 -10800 # Node ID de23c23ef4ac2585ed9a49dfa54dda9ab4859b9c # Parent 54c51dea92a215ee036fc60bf9e920c210a355b4 mini fix diff -r 54c51dea92a2 -r de23c23ef4ac build-xenomips-image --- a/build-xenomips-image Fri Sep 14 12:04:44 2007 +0300 +++ b/build-xenomips-image Fri Sep 14 12:59:55 2007 +0300 @@ -81,7 +81,7 @@ iface lo inet loopback up for i in \`ifconfig -a | grep 'eth.*Link encap' | awk '{print \$1}'\`; do ifconfig \$i up ; done || true -iface eth0 inet dhcp +#iface eth0 inet dhcp INTERFACES echo /usr/local/bin/xenomips.sh > /etc/rc.local diff -r 54c51dea92a2 -r de23c23ef4ac files/xenomips.sh --- a/files/xenomips.sh Fri Sep 14 12:04:44 2007 +0300 +++ b/files/xenomips.sh Fri Sep 14 12:59:55 2007 +0300 @@ -5,7 +5,7 @@ DYNAMIPS_WORKDIR="/xenomips/config" DYNAMIPS_ARGS=`cat /proc/cmdline | sed 's/.*xenomips="//; s/".*//'` cd "$DYNAMIPS_WORKDIR" - screen -e '^xx' -d -m sh -c 'while true; do dynamips '$DYNAMIPS_ARGS' ; done' + screen -e '^xx' -d -m sh -c "while true; do dynamips $DYNAMIPS_ARGS ; done" else /etc/init.d/quagga start screen -e '^xx' -d -m sh -c 'while true; do vtysh; done'