xentaur

annotate 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
rev   line source
igor@0 1 #!/bin/sh
igor@0 2
igor@0 3 DYNAMIPS_WORKDIR="/xenomips/config"
igor@0 4 DYNAMIPS_ARGS=`cat /proc/cmdline | sed 's/.*xenomips="//; s/".*//'`
igor@0 5
igor@0 6
igor@0 7 cd "$DYNAMIPS_WORKDIR"
igor@0 8 screen -e '^``' -d -m dynamips $DYNAMIPS_ARGS
igor@0 9