]> git.entuzijast.net Git - imunes.git/commitdiff
Nuke a now redundant check whether we are running in a default
authormarko <marko>
Thu, 1 Nov 2007 17:37:20 +0000 (17:37 +0000)
committermarko <marko>
Thu, 1 Nov 2007 17:37:20 +0000 (17:37 +0000)
vimage.  Regardless whether we are at the top of the vimage tree
or not, the current vimage will have an address of ".".  More
importantly, we can now _really_ start new experiments from within
non-default vimages, i.e. run IMUNES inside IMUNES!

While here, bump our "version" date.
Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

imunes

diff --git a/imunes b/imunes
index fdaddf2937032ccd9b9b5a7e99d6199acd4c684c..1527e869ff599806c277f4ac752a83576556d8d1 100755 (executable)
--- a/imunes
+++ b/imunes
 #
 
 
-if [ `id -ur` -eq 0 -a -x /sbin/vimage ]; then
-    vimage=`vimage`
-    if [ `expr ${vimage} != "."` -ne 0 ]; then
-       echo "Imunes cannot be started from virtual image!"
-       echo "(exit to default and try again)"
-       exit 2
-    fi
-fi
-
 SHELL=/bin/sh
 export SHELL
 
@@ -57,7 +48,7 @@ case $1 in
     exec tclsh8.4 $imunes "$@" 
     ;; 
 -v | --version) 
-    exec echo IMUNES version 2006-03-07
+    exec echo IMUNES version 2007-11-01
     ;; 
 *) 
     exec wish8.4 $imunes "$@"