xentaur

diff files/xenomips.sh @ 5:83a41d802a52

function write_to has improved.

Several templates of cisco configuration secuences have added.
author igor
date Sun Jul 15 14:34:59 2007 +0300 (2007-07-15)
parents
children 825cd93472de
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/files/xenomips.sh	Sun Jul 15 14:34:59 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 +