home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / distrib / BOOT / INSTALL-0_3 / !Install_Data_!Linux_!Run < prev    next >
Encoding:
Text File  |  1996-01-28  |  1.2 KB  |  35 lines

  1. |
  2. | !Run file for !Linux (Once installed, you can probably cut this file down)
  3. |
  4. | (c) 1996 Russell King.
  5. |
  6. | The loader supplied with this has been designed to be run at boot.  It only
  7. | requires the Shared C Library to be loaded.
  8. |
  9. | My !Boot.!Run file contains:
  10. |loader -timeout 200 -config adfs::4.$.linux.!linux.config -root adfs::4.$.partitions.linux.root
  11. |
  12. Set Linux$Dir <Obey$Dir>
  13. Set Linux$Temp <Wimp$ScrapDir>
  14. |
  15. | Make sure that we have the bits module loaded.
  16. |
  17. RMEnsure Bits 1.03 RMLoad System:modules.bits
  18. RMEnsure Bits 1.03 Error Linux requires module Bits 1.03 or later
  19. |
  20. | Check for configuration file
  21. |
  22. Ifabsent <Linux$Dir>.!Config Error Configuration file(s) not found.  Please configure linux before attempting to run it.
  23. |
  24. | Set up the root partition
  25. |
  26. If "<Linux$Root>" = "" THEN Set Linux$Root <Linux$Dir>.KernelDisk
  27. |
  28. | I do wish that RiscOS would to variable subsitution before passing the command line to
  29. | the program the way that unix does ;-(  Then I wouldn't need this IF here!
  30. |
  31. If "%0" = "" Then Set Extras -timeout 100000
  32. Echo Delete <Linux$Temp>.Runit <10>Run <Linux$Dir>.loader -config <Linux$Dir>.!Config -root <Linux$Root> <Extras> <10> { > <Linux$Temp>.Runit }
  33. Unset Extras
  34. Obey -c <Linux$Temp>.Runit
  35.