Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!kth!draken!tut!santra!kampi!jmunkki From: jmunkki@kampi.hut.fi (Juri Munkki) Newsgroups: comp.sys.mac Subject: Re: init cdev & init Keywords: great stuff Message-ID: <19574@santra.UUCP> Date: 15 Feb 89 20:07:21 GMT References: <977@gmdzi.UUCP> <1115@wasatch.UUCP> Sender: news@santra.UUCP Reply-To: jmunkki@kampi.UUCP (Juri Munkki) Organization: Helsinki University of Technology, Finland Lines: 28 In article <1115@wasatch.UUCP> t-jacobs@wasatch.utah.edu.UUCP (Tony Jacobs) writes: >Some kind soul created an INIT called "Ignore-Init" which replaces the standard >INIT 31 (actually renames it "iNIT 31") which allows a quick start when the >option key is held down, or just runs the regular INIT 31. I was browsing the Thank you! (It feels nice to be "a kind soul".) >code for INIT 31 and realized one could probally modify it to look in a >particular folder for other INITs. The problem is that INIT31 also looks at >RDEV's, CDEV's and perhaps others to run any initialization routines on. That >would perhaps be ok to put all of those kinds of files into one folder, but >then perhaps the Control panel and Chooser wouldn't be able to find their >files when they are run. You might want to do it this way: Write a normal INIT file that first calls SetVol, then loads and runs INIT-31 and finally calls SetVol to restore the default directory. It should work, unless INIT-31 does something besides load the other inits. This time I don't have the time to write the code, but it shouldn't be too complicated. You could also solve the whole thing by modifying X-INIT to call the normal INIT-31 several times with different directories. _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ | Juri Munkki jmunkki@hut.fi jmunkki@fingate.bitnet I Want Ne | | Helsinki University of Technology Computing Centre My Own XT | ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~