home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Dautostart / s / user-startup < prev   
Encoding:
Text File  |  1991-09-12  |  1.7 KB  |  46 lines

  1.  
  2. ;   Your entire user-startup script consists of running DAUTOSTART
  3. ;   redirected to a ram file which is then executed.  DAUTOSTART will
  4. ;   build a startup script by scanning all mounted filesystems (it runs
  5. ;   the INFO program to get a list of mounted filesystems) looking for
  6. ;   files named 'boot-sequence.1'
  7. ;
  8. ;   Only one directory level is searched allowing boot-sequence.1 files
  9. ;   in the root of each filesystem and in any sub-directory of each
  10. ;   filesystem.  Further levels of sub-directories are searched only
  11. ;   when a boot-sequence.1 file is actually found, and so on.
  12. ;
  13. ;   Also, if boot-sequence.1 is found DAUTOSTART will also look for
  14. ;   boot-sequence.2 and so on .. up to boot-sequence.9, allowing
  15. ;   multiple startup scripts at different priorities (see DAUTOSTART.DOC
  16. ;   for information on prioritization) to apply to a given installation
  17. ;
  18. ;   So, for example, you might have
  19. ;
  20. ;   DH1:boot-sequence.1
  21. ;   DH1:src/boot-sequence.1
  22. ;   DH1:src/boot-sequence.2
  23. ;   DH1:src/fubar/boot-sequence.1
  24. ;
  25. ;   All of which will be found automatically by DAUTOSTART, but without
  26. ;   DAUTOSTART searching the rest of the directory tree for DH1.
  27. ;
  28. ;   The order in which DAUTOSTART finds boot-sequence files does not
  29. ;   generally effect the output script since each boot-sequence file
  30. ;   may have a priority.  DAUTOSTART sorts the files before constructing
  31. ;   the combined script.
  32.  
  33. ;   run dautostart to generate script to ram:auto, then run the script
  34.  
  35. path reset
  36. sys:bin/dautostart >ram:auto
  37. execute ram:auto
  38. cd sys:
  39. delete ram:auto
  40.  
  41. ;   save the directory path constructed by the startup script so
  42. ;   shell-startup can access it without having to hardwire paths
  43.  
  44. sys:bin/savepath
  45.  
  46.