home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / useful / sys / s / user-startup-example < prev   
Text File  |  1994-05-09  |  2KB  |  56 lines

  1. ; These assigns search for the latest Freshfish CD-ROM available online at
  2. ; boot time and run it's startup sequence.  They also assign FFCD to that
  3. ; CD-ROM, both to make it easier to get to from a CLI and as a flag that a
  4. ; CD-ROM has been found, so as to avoid lots of nested if statements.
  5. ; To support another future CD-ROM, simply clone a block and change the
  6. ; device and script names as appropriate.
  7.  
  8. ; Look for May/June 1994 FreshFish CD-ROM.
  9. ; This CD-ROM split FFCD-Startup into GNU-Startup and Useful-Startup.
  10. assign FFCD: exists >nil:
  11. if warn
  12.     assign FreshFish-May94: exists >nil:
  13.     if not warn
  14.     echo "Assigning GNU: to FreshFish-May94:GNU ..."
  15.     assign GNU: FreshFish-May94:GNU
  16.     echo "Running GNU:Sys/S/GNU-Startup..."
  17.     execute GNU:Sys/S/GNU-Startup
  18.     echo "Running FreshFish-May94:Useful/Sys/S/Useful-Startup..."
  19.     execute FreshFish-May94:Useful/Sys/S/Useful-Startup
  20.     assign FFCD: FreshFish-May94:
  21.     endif
  22. endif
  23.  
  24. ; Look for March/April 1994 FreshFish CD-ROM.
  25. assign FFCD: exists >nil:
  26. if warn
  27.     assign FreshFish-Mar94: exists >nil:
  28.     if not warn
  29.     echo "Running FreshFish-Mar94:Useful/Sys/S/FFCD-Startup..."
  30.     execute FreshFish-Mar94:Useful/Sys/S/FFCD-Startup
  31.     assign FFCD: FreshFish-Mar94:
  32.     endif
  33. endif
  34.  
  35. ; Look for December 1993 Freshfish CD-ROM.
  36. assign FFCD: exists >nil:
  37. if warn
  38.     assign FreshFish-Dec93: exists >nil:
  39.     if not warn
  40.     echo "Running FreshFish-Dec93:Useful/s/FFCD-Startup..."
  41.     execute FreshFish-Dec93:Useful/s/FFCD-Startup
  42.     assign FFCD: FreshFish-Dec93:
  43.     endif
  44. endif
  45.  
  46. ; Look for October 1993 Freshfish CD-ROM.
  47. assign FFCD: exists >nil:
  48. if warn
  49.     assign FFMCD01: exists >nil:
  50.     if not warn
  51.     echo "Running FFMCD01:Useful/s/FFCD-Startup..."
  52.     execute FFMCD01:Useful/s/FFCD-Startup
  53.     assign FFCD: FFMCD01:
  54.     endif
  55. endif
  56.