home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!netnews!bandy
- From: bandy@netnews.jhuapl.edu (Mike Bandy)
- Subject: Re: Cold VS Warm
- Message-ID: <C0Joq9.6tC@netnews.jhuapl.edu>
- Organization: JHU/Applied Physics Laboratory
- References: <1993Jan7.225604.22838@jato.jpl.nasa.gov>
- Date: Fri, 8 Jan 1993 17:03:45 GMT
- Lines: 15
-
- jdickson@jato.jpl.nasa.gov (Jeff Dickson) writes:
-
- > Is there an OS friendly way to determine if the computer was cold or
- >warm booted?
-
- The way that I do it is to test whether the RAD device exists. If it does,
- then it's a warm boot, if not, then we're coming from power up. You use
- the "IF EXISTS RAD:" clause in your s:user-startup file. Of course,
- if it doesn't exist then you should create it for this to work!
-
- --
-
- Mike Bandy
- bandy@aplcomm.jhuapl.edu
- Johns Hopkins University / Applied Physics Lab
-