xentaur
diff files/xenomips.sh @ 2:e34dd9ee49e5
Функция write_to для записи на консоль виртуальных систем
author | igor |
---|---|
date | Fri Jul 13 20:52:01 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 20:52:01 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 +