home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / sys / s / user-startup-example < prev   
Text File  |  1995-01-29  |  5KB  |  156 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 8 CD-ROM.
  21. assign FFCD: exists >nil:
  22. if warn
  23.     assign FreshFish-Vol8-1: exists >nil:
  24.     if not warn
  25.     echo "Assigning GNU: to FreshFish-Vol8-1:GNU ..."
  26.     assign GNU: FreshFish-Vol8-1:GNU
  27.     echo "Running GNU:Sys/S/GNU-Startup..."
  28.     execute GNU:Sys/S/GNU-Startup
  29.     echo "Assigning USEFUL: to FreshFish-Vol8-1:Useful ..."
  30.     assign USEFUL: FreshFish-Vol8-1:Useful
  31.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  32.     execute USEFUL:Sys/S/Useful-Startup
  33.     assign FFCD: FreshFish-Vol8-1:
  34.     endif
  35. endif
  36.  
  37. ; Look for GoldFish Vol 2 (Nov 1994) CD-ROM.
  38. assign FFCD: exists >nil:
  39. if warn
  40.     assign GoldFish-Vol2-1: exists >nil:
  41.     if not warn
  42.     echo "Assigning GNU: to GoldFish-Vol2-1:GNU ..."
  43.     assign GNU: GoldFish-Vol2-1:GNU
  44.     echo "Running GNU:Sys/S/GNU-Startup..."
  45.     execute GNU:Sys/S/GNU-Startup
  46.     echo "Assigning USEFUL: to GoldFish-Vol2-1:Useful ..."
  47.     assign USEFUL: GoldFish-Vol2-1:Useful
  48.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  49.     execute USEFUL:Sys/S/Useful-Startup
  50.     assign FFCD: GoldFish-Vol2-1:
  51.     endif
  52. endif
  53.  
  54. ; Look for FreshFish Vol 7 (Nov/Dec 1994) CD-ROM.
  55. assign FFCD: exists >nil:
  56. if warn
  57.     assign FreshFish-Vol7: exists >nil:
  58.     if not warn
  59.     echo "Assigning GNU: to FreshFish-Vol7:GNU ..."
  60.     assign GNU: FreshFish-Vol7:GNU
  61.     echo "Running GNU:Sys/S/GNU-Startup..."
  62.     execute GNU:Sys/S/GNU-Startup
  63.     echo "Assigning USEFUL: to FreshFish-Vol7:Useful ..."
  64.     assign USEFUL: FreshFish-Vol7:Useful
  65.     assign BSD: FreshFish-Vol7:BSD
  66.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  67.     execute USEFUL:Sys/S/Useful-Startup
  68.     assign FFCD: FreshFish-Vol7:
  69.     endif
  70. endif
  71.  
  72. ; Look for FreshFish Vol 6 (Sep/Oct 1994) CD-ROM.
  73. assign FFCD: exists >nil:
  74. if warn
  75.     assign FreshFish-Sep94: exists >nil:
  76.     if not warn
  77.     echo "Assigning GNU: to FreshFish-Sep94:GNU ..."
  78.     assign GNU: FreshFish-Sep94:GNU
  79.     echo "Running GNU:Sys/S/GNU-Startup..."
  80.     execute GNU:Sys/S/GNU-Startup
  81.     echo "Assigning USEFUL: to FreshFish-Sep94:Useful ..."
  82.     assign USEFUL: FreshFish-Sep94:Useful
  83.     assign BSD: FreshFish-Sep94:BSD
  84.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  85.     execute USEFUL:Sys/S/Useful-Startup
  86.     assign FFCD: FreshFish-Sep94:
  87.     endif
  88. endif
  89.  
  90. ; Look for FreshFish Vol 5 (Jul/Aug 1994) CD-ROM.
  91. assign FFCD: exists >nil:
  92. if warn
  93.     assign FreshFish-Jul94: exists >nil:
  94.     if not warn
  95.     echo "Assigning GNU: to FreshFish-Jul94:GNU ..."
  96.     assign GNU: FreshFish-Jul94:GNU
  97.     echo "Running GNU:Sys/S/GNU-Startup..."
  98.     execute GNU:Sys/S/GNU-Startup
  99.     echo "Assigning USEFUL: to FreshFish-Jul94:Useful ..."
  100.     assign USEFUL: FreshFish-Jul94:Useful
  101.     assign BSD: FreshFish-Jul94:BSD
  102.     echo "Running USEFUL:Sys/S/Useful-Startup..."
  103.     execute USEFUL:Sys/S/Useful-Startup
  104.     assign FFCD: FreshFish-Jul94:
  105.     endif
  106. endif
  107.  
  108. ; Look for FreshFish Vol 4 (May/June 1994) CD-ROM.
  109. ; This CD-ROM split FFCD-Startup into GNU-Startup and Useful-Startup.
  110. assign FFCD: exists >nil:
  111. if warn
  112.     assign FreshFish-May94: exists >nil:
  113.     if not warn
  114.     echo "Assigning GNU: to FreshFish-May94:GNU ..."
  115.     assign GNU: FreshFish-May94:GNU
  116.     echo "Running GNU:Sys/S/GNU-Startup..."
  117.     execute GNU:Sys/S/GNU-Startup
  118.     echo "Running FreshFish-May94:Useful/Sys/S/Useful-Startup..."
  119.     execute FreshFish-May94:Useful/Sys/S/Useful-Startup
  120.     assign FFCD: FreshFish-May94:
  121.     endif
  122. endif
  123.  
  124. ; Look for FreshFish Vol 3 (March/April 1994) CD-ROM.
  125. assign FFCD: exists >nil:
  126. if warn
  127.     assign FreshFish-Mar94: exists >nil:
  128.     if not warn
  129.     echo "Running FreshFish-Mar94:Useful/Sys/S/FFCD-Startup..."
  130.     execute FreshFish-Mar94:Useful/Sys/S/FFCD-Startup
  131.     assign FFCD: FreshFish-Mar94:
  132.     endif
  133. endif
  134.  
  135. ; Look for FreshFish Vol 2 (December 1993) CD-ROM.
  136. assign FFCD: exists >nil:
  137. if warn
  138.     assign FreshFish-Dec93: exists >nil:
  139.     if not warn
  140.     echo "Running FreshFish-Dec93:Useful/s/FFCD-Startup..."
  141.     execute FreshFish-Dec93:Useful/s/FFCD-Startup
  142.     assign FFCD: FreshFish-Dec93:
  143.     endif
  144. endif
  145.  
  146. ; Look for FreshFish Vo1 1 (October 1993) CD-ROM.
  147. assign FFCD: exists >nil:
  148. if warn
  149.     assign FFMCD01: exists >nil:
  150.     if not warn
  151.     echo "Running FFMCD01:Useful/s/FFCD-Startup..."
  152.     execute FFMCD01:Useful/s/FFCD-Startup
  153.     assign FFCD: FFMCD01:
  154.     endif
  155. endif
  156.