home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / useful / sys / s / user-startup-example < prev   
Text File  |  1994-07-14  |  3KB  |  84 lines

  1. ; This is an example script that can be copied to S:FFCD-Startup, and then
  2. ; run from your S:User-Startup file with:
  3. ;
  4. ;    ; Find and mount the latest FreshFish CD available online.
  5. ;    if EXISTS S:FFCD-Startup
  6. ;        echo "Running S:FFCD-Startup..."
  7. ;        execute S:FFCD-Startup
  8. ;    endif
  9. ;
  10. ; These assigns search for the latest Freshfish CD-ROM available online at
  11. ; boot time and run it's startup sequence.  They also assign FFCD to that
  12. ; CD-ROM, both to make it easier to get to from a CLI and as a flag that a
  13. ; CD-ROM has been found, so as to avoid lots of nested if statements.
  14. ; To support another future CD-ROM, simply clone a block and change the
  15. ; device and script names as appropriate.  To remove support for a
  16. ; particular CD-ROM, just remove the applicable block of commands.
  17.  
  18. ; Look for Jul/Aug 1994 FreshFish CD-ROM.
  19. assign FFCD: exists >nil:
  20. if warn
  21.     assign FreshFish-Jul94: exists >nil:
  22.     if not warn
  23.     echo "Assigning GNU: to FreshFish-Jul94:GNU ..."
  24.     assign GNU: FreshFish-Jul94:GNU
  25.     echo "Running GNU:Sys/S/GNU-Startup..."
  26.     execute GNU:Sys/S/GNU-Startup
  27.     echo "Assigning USEFUL: to FreshFish-Jul94:Useful ..."
  28.     assign USEFUL: FreshFish-Jul94:Useful
  29.     assign BSD: FreshFish-Jul94:BSD
  30.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  31.     execute USEFUL:Sys/S/Useful-Startup
  32.     assign FFCD: FreshFish-Jul94:
  33.     endif
  34. endif
  35.  
  36. ; Look for May/June 1994 FreshFish CD-ROM.
  37. ; This CD-ROM split FFCD-Startup into GNU-Startup and Useful-Startup.
  38. assign FFCD: exists >nil:
  39. if warn
  40.     assign FreshFish-May94: exists >nil:
  41.     if not warn
  42.     echo "Assigning GNU: to FreshFish-May94:GNU ..."
  43.     assign GNU: FreshFish-May94:GNU
  44.     echo "Running GNU:Sys/S/GNU-Startup..."
  45.     execute GNU:Sys/S/GNU-Startup
  46.     echo "Running FreshFish-May94:Useful/Sys/S/Useful-Startup..."
  47.     execute FreshFish-May94:Useful/Sys/S/Useful-Startup
  48.     assign FFCD: FreshFish-May94:
  49.     endif
  50. endif
  51.  
  52. ; Look for March/April 1994 FreshFish CD-ROM.
  53. assign FFCD: exists >nil:
  54. if warn
  55.     assign FreshFish-Mar94: exists >nil:
  56.     if not warn
  57.     echo "Running FreshFish-Mar94:Useful/Sys/S/FFCD-Startup..."
  58.     execute FreshFish-Mar94:Useful/Sys/S/FFCD-Startup
  59.     assign FFCD: FreshFish-Mar94:
  60.     endif
  61. endif
  62.  
  63. ; Look for December 1993 Freshfish CD-ROM.
  64. assign FFCD: exists >nil:
  65. if warn
  66.     assign FreshFish-Dec93: exists >nil:
  67.     if not warn
  68.     echo "Running FreshFish-Dec93:Useful/s/FFCD-Startup..."
  69.     execute FreshFish-Dec93:Useful/s/FFCD-Startup
  70.     assign FFCD: FreshFish-Dec93:
  71.     endif
  72. endif
  73.  
  74. ; Look for October 1993 Freshfish CD-ROM.
  75. assign FFCD: exists >nil:
  76. if warn
  77.     assign FFMCD01: exists >nil:
  78.     if not warn
  79.     echo "Running FFMCD01:Useful/s/FFCD-Startup..."
  80.     execute FFMCD01:Useful/s/FFCD-Startup
  81.     assign FFCD: FFMCD01:
  82.     endif
  83. endif
  84.