[boot scriptor] Re: Detecting difference between cdshw.com and real boot

You're looking in the right place.  It should be returning 0 when you 
boot from the CD.  It may be a bug...I'll have to take a look.

To be sure that it's a problem with $versionDOS and not another aspect 
of the script interpreter, you might want to try the command "echo 
$versionDOS".  If I remember correctly, the echo command requires the 
skeleton.csm module from the source code package to be present in your 
modules directory.

Mike

Antonio Carlini wrote:
> Hi,
> 
> I'm putting together a front-end with CDshell and I want to test as much
> as possible using the debugger rather than always having to build an ISO
> and test it out using a virtual machine.
> 
> The manual suggests that $versionDOS is the variable I should look at,
> but it seems to me that I always see that as set (even when having
> booted from a
> CD using a VM).
> 
> I'm using 2.1.6 (the latest version, AFAIK)
> 
> Thanks for any insights,
> 
> Antonio
> 
> arcarlini@xxxxxxx
> 
> 
> ============================================================
> Boot Scriptor mailing list -- http://www.bootscriptor.org
> Change your subscription options at: http://www.freelists.org/list/bscript
> 
============================================================
Boot Scriptor mailing list -- http://www.bootscriptor.org
Change your subscription options at: http://www.freelists.org/list/bscript

Other related posts: