[Ultrapossum-cvs 299] demo/uml 1.7,1.8,boot

Zurück zum Archiv-Index

Masato Taruishi taru****@sourc*****
2004年 7月 3日 (土) 19:16:24 JST


===================================================================
RCS file: demo/uml/boot,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- demo/uml/boot	2004/07/03 07:50:17	1.7
+++ demo/uml/boot	2004/07/03 10:16:24	1.8
@@ -27,5 +27,11 @@
   fi
 fi
 
+if include $1 "`screen -list | grep ultrapossum | cut -d- -f2 | awk -F' ' '{print $1;}'`"
+then
+  echo "$1 already booted" 1>&2
+  exit 1
+fi
+
 screen -d -m -S ultrapossum-$1 $MODULEDIR/uml/uml-run $1 su -c "linux ubd0=$root con0=fd:0,fd:1 con=pts mem=$UML_MEM eth0=tuntap,$host_if,,$host" $UML_USER
 



Ultrapossum-cvs メーリングリストの案内
Zurück zum Archiv-Index