xentaur

diff files/xenomips.sh @ 0:ab37f0ad70e5

Initial revision
author igor
date Fri Jul 13 16:57:33 2007 +0300 (2007-07-13)
parents
children 825cd93472de
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/files/xenomips.sh	Fri Jul 13 16:57:33 2007 +0300
     1.3 @@ -0,0 +1,9 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +DYNAMIPS_WORKDIR="/xenomips/config"
     1.7 +DYNAMIPS_ARGS=`cat /proc/cmdline | sed 's/.*xenomips="//; s/".*//'`
     1.8 +
     1.9 +
    1.10 +cd "$DYNAMIPS_WORKDIR"
    1.11 +screen -e '^``' -d -m dynamips $DYNAMIPS_ARGS
    1.12 +