home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / r / rpcboot / !Boot / !Run < prev    next >
Encoding:
Text File  |  1996-11-03  |  882 b   |  30 lines

  1. Set Boot$Dir <Obey$Dir>
  2.  
  3. rmensure utilitymodule 3.00 echo "Risc OS 3 is needed to to run the boot sequence"
  4. rmensure utilitymodule 3.00 obey
  5.  
  6. if wimp$state="desktop" then wimptask "<Boot$dir>.utils.!bootconf"
  7. if wimp$state="desktop" then obey
  8.  
  9. Set Boot$path <Boot$Path>,<Boot$dir>.              
  10. Set Boot$Unique Local
  11.  
  12.  
  13. If "<Run$Path>" = ",%." then Set Run$Path ,%.,<Boot$Dir>.Library.
  14.  
  15. | SetChoices
  16. Set Choices$Dir <Boot$Dir>.Choices
  17. Set Choices$Path <Choices$Dir>.,<Choices$Path>
  18. Set Choices$Write <Choices$Dir>
  19. Set BootResources$Dir <Boot$Dir>.Resources
  20. Set BootResources$Path <BootResources$Dir>.
  21. Set Boot$ToBeLoaded <Choices$Write>.Boot.PreDesk
  22. Set Boot$ToBeTasks <Choices$Write>.Boot.Tasks
  23.  
  24. | BootRun
  25. /Choices:Boot.PreDesktop
  26. repeat rmload <boot$ToBeLoaded> -type module
  27. repeat run <boot$ToBeLoaded> -applications
  28. repeat run <boot$ToBeLoaded> -type obey
  29.  
  30. /choices:Boot.desktop