home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 10 / Fresh_Fish_10_2352.bin / useful / sys / s / ffcd-startup < prev    next >
Text File  |  1995-08-20  |  6KB  |  190 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 or GoldFish CD-ROM
  11. ; available online at boot time and run it's startup sequence.  They also
  12. ; assign FFCD to that CD-ROM, both to make it easier to get to from a CLI
  13. ; and as a flag that a CD-ROM has been found, so as to avoid lots of nested
  14. ; if statements.
  15. ;
  16. ; To support another future CD-ROM, simply clone a block and change the
  17. ; device and script names as appropriate.  To remove support for a
  18. ; particular CD-ROM, just remove the applicable block of commands.
  19.  
  20. ; Look for FreshFish Vol 10 CD-ROM.
  21. assign FFCD: exists >nil:
  22. if warn
  23.     assign FreshFish-Vol10: exists >nil:
  24.     if not warn
  25.     echo "Assigning GNU: to FreshFish-Vol10:GNU ..."
  26.     assign GNU: FreshFish-Vol10:GNU
  27.     echo "Running GNU:Sys/S/GNU-Startup..."
  28.     execute GNU:Sys/S/GNU-Startup
  29.     echo "Assigning USEFUL: to FreshFish-Vol10:Useful ..."
  30.     assign USEFUL: FreshFish-Vol10:Useful
  31.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  32.     execute USEFUL:Sys/S/Useful-Startup
  33.     assign FFCD: FreshFish-Vol10:
  34.     endif
  35. endif
  36.  
  37. ; Look for FreshFish Vol 9 CD-ROM.
  38. assign FFCD: exists >nil:
  39. if warn
  40.     assign FreshFish-Vol9-1: exists >nil:
  41.     if not warn
  42.     echo "Assigning GNU: to FreshFish-Vol9-1:GNU ..."
  43.     assign GNU: FreshFish-Vol9-1:GNU
  44.     echo "Running GNU:Sys/S/GNU-Startup..."
  45.     execute GNU:Sys/S/GNU-Startup
  46.     echo "Assigning USEFUL: to FreshFish-Vol9-1:Useful ..."
  47.     assign USEFUL: FreshFish-Vol9-1:Useful
  48.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  49.     execute USEFUL:Sys/S/Useful-Startup
  50.     assign FFCD: FreshFish-Vol9-1:
  51.     endif
  52. endif
  53.  
  54. ; Look for FreshFish Vol 8 CD-ROM.
  55. assign FFCD: exists >nil:
  56. if warn
  57.     assign FreshFish-Vol8-1: exists >nil:
  58.     if not warn
  59.     echo "Assigning GNU: to FreshFish-Vol8-1:GNU ..."
  60.     assign GNU: FreshFish-Vol8-1:GNU
  61.     echo "Running GNU:Sys/S/GNU-Startup..."
  62.     execute GNU:Sys/S/GNU-Startup
  63.     echo "Assigning USEFUL: to FreshFish-Vol8-1:Useful ..."
  64.     assign USEFUL: FreshFish-Vol8-1:Useful
  65.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  66.     execute USEFUL:Sys/S/Useful-Startup
  67.     assign FFCD: FreshFish-Vol8-1:
  68.     endif
  69. endif
  70.  
  71. ; Look for GoldFish Vol 2 (Nov 1994) CD-ROM.
  72. assign FFCD: exists >nil:
  73. if warn
  74.     assign GoldFish-Vol2-1: exists >nil:
  75.     if not warn
  76.     echo "Assigning GNU: to GoldFish-Vol2-1:GNU ..."
  77.     assign GNU: GoldFish-Vol2-1:GNU
  78.     echo "Running GNU:Sys/S/GNU-Startup..."
  79.     execute GNU:Sys/S/GNU-Startup
  80.     echo "Assigning USEFUL: to GoldFish-Vol2-1:Useful ..."
  81.     assign USEFUL: GoldFish-Vol2-1:Useful
  82.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  83.     execute USEFUL:Sys/S/Useful-Startup
  84.     assign FFCD: GoldFish-Vol2-1:
  85.     endif
  86. endif
  87.  
  88. ; Look for FreshFish Vol 7 (Nov/Dec 1994) CD-ROM.
  89. assign FFCD: exists >nil:
  90. if warn
  91.     assign FreshFish-Vol7: exists >nil:
  92.     if not warn
  93.     echo "Assigning GNU: to FreshFish-Vol7:GNU ..."
  94.     assign GNU: FreshFish-Vol7:GNU
  95.     echo "Running GNU:Sys/S/GNU-Startup..."
  96.     execute GNU:Sys/S/GNU-Startup
  97.     echo "Assigning USEFUL: to FreshFish-Vol7:Useful ..."
  98.     assign USEFUL: FreshFish-Vol7:Useful
  99.     assign BSD: FreshFish-Vol7:BSD
  100.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  101.     execute USEFUL:Sys/S/Useful-Startup
  102.     assign FFCD: FreshFish-Vol7:
  103.     endif
  104. endif
  105.  
  106. ; Look for FreshFish Vol 6 (Sep/Oct 1994) CD-ROM.
  107. assign FFCD: exists >nil:
  108. if warn
  109.     assign FreshFish-Sep94: exists >nil:
  110.     if not warn
  111.     echo "Assigning GNU: to FreshFish-Sep94:GNU ..."
  112.     assign GNU: FreshFish-Sep94:GNU
  113.     echo "Running GNU:Sys/S/GNU-Startup..."
  114.     execute GNU:Sys/S/GNU-Startup
  115.     echo "Assigning USEFUL: to FreshFish-Sep94:Useful ..."
  116.     assign USEFUL: FreshFish-Sep94:Useful
  117.     assign BSD: FreshFish-Sep94:BSD
  118.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  119.     execute USEFUL:Sys/S/Useful-Startup
  120.     assign FFCD: FreshFish-Sep94:
  121.     endif
  122. endif
  123.  
  124. ; Look for FreshFish Vol 5 (Jul/Aug 1994) CD-ROM.
  125. assign FFCD: exists >nil:
  126. if warn
  127.     assign FreshFish-Jul94: exists >nil:
  128.     if not warn
  129.     echo "Assigning GNU: to FreshFish-Jul94:GNU ..."
  130.     assign GNU: FreshFish-Jul94:GNU
  131.     echo "Running GNU:Sys/S/GNU-Startup..."
  132.     execute GNU:Sys/S/GNU-Startup
  133.     echo "Assigning USEFUL: to FreshFish-Jul94:Useful ..."
  134.     assign USEFUL: FreshFish-Jul94:Useful
  135.     assign BSD: FreshFish-Jul94:BSD
  136.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  137.     execute USEFUL:Sys/S/Useful-Startup
  138.     assign FFCD: FreshFish-Jul94:
  139.     endif
  140. endif
  141.  
  142. ; Look for FreshFish Vol 4 (May/June 1994) CD-ROM.
  143. ; This CD-ROM split FFCD-Startup into GNU-Startup and Useful-Startup.
  144. assign FFCD: exists >nil:
  145. if warn
  146.     assign FreshFish-May94: exists >nil:
  147.     if not warn
  148.     echo "Assigning GNU: to FreshFish-May94:GNU ..."
  149.     assign GNU: FreshFish-May94:GNU
  150.     echo "Running GNU:Sys/S/GNU-Startup..."
  151.     execute GNU:Sys/S/GNU-Startup
  152.     echo "Running FreshFish-May94:Useful/Sys/S/Useful-Startup..."
  153.     execute FreshFish-May94:Useful/Sys/S/Useful-Startup
  154.     assign FFCD: FreshFish-May94:
  155.     endif
  156. endif
  157.  
  158. ; Look for FreshFish Vol 3 (March/April 1994) CD-ROM.
  159. assign FFCD: exists >nil:
  160. if warn
  161.     assign FreshFish-Mar94: exists >nil:
  162.     if not warn
  163.     echo "Running FreshFish-Mar94:Useful/Sys/S/FFCD-Startup..."
  164.     execute FreshFish-Mar94:Useful/Sys/S/FFCD-Startup
  165.     assign FFCD: FreshFish-Mar94:
  166.     endif
  167. endif
  168.  
  169. ; Look for FreshFish Vol 2 (December 1993) CD-ROM.
  170. assign FFCD: exists >nil:
  171. if warn
  172.     assign FreshFish-Dec93: exists >nil:
  173.     if not warn
  174.     echo "Running FreshFish-Dec93:Useful/s/FFCD-Startup..."
  175.     execute FreshFish-Dec93:Useful/s/FFCD-Startup
  176.     assign FFCD: FreshFish-Dec93:
  177.     endif
  178. endif
  179.  
  180. ; Look for FreshFish Vo1 1 (October 1993) CD-ROM.
  181. assign FFCD: exists >nil:
  182. if warn
  183.     assign FFMCD01: exists >nil:
  184.     if not warn
  185.     echo "Running FFMCD01:Useful/s/FFCD-Startup..."
  186.     execute FFMCD01:Useful/s/FFCD-Startup
  187.     assign FFCD: FFMCD01:
  188.     endif
  189. endif
  190.