home *** CD-ROM | disk | FTP | other *** search
- ; This is an example script that can be copied to S:FFCD-Startup, and then
- ; run from your S:User-Startup file with:
- ;
- ; ; Find and mount the latest FreshFish CD available online.
- ; if EXISTS S:FFCD-Startup
- ; echo "Running S:FFCD-Startup..."
- ; execute S:FFCD-Startup
- ; endif
- ;
- ; These assigns search for the latest Freshfish CD-ROM or GoldFish CD-ROM
- ; available online at boot time and run it's startup sequence. They also
- ; assign FFCD to that CD-ROM, both to make it easier to get to from a CLI
- ; and as a flag that a CD-ROM has been found, so as to avoid lots of nested
- ; if statements.
- ;
- ; To support another future CD-ROM, simply clone a block and change the
- ; device and script names as appropriate. To remove support for a
- ; particular CD-ROM, just remove the applicable block of commands.
-
- ; Look for FreshFish Vol 9 CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Vol9-1: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-Vol9-1:GNU ..."
- assign GNU: FreshFish-Vol9-1:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to FreshFish-Vol9-1:Useful ..."
- assign USEFUL: FreshFish-Vol9-1:Useful
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: FreshFish-Vol9-1:
- endif
- endif
-
- ; Look for FreshFish Vol 8 CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Vol8-1: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-Vol8-1:GNU ..."
- assign GNU: FreshFish-Vol8-1:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to FreshFish-Vol8-1:Useful ..."
- assign USEFUL: FreshFish-Vol8-1:Useful
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: FreshFish-Vol8-1:
- endif
- endif
-
- ; Look for GoldFish Vol 2 (Nov 1994) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign GoldFish-Vol2-1: exists >nil:
- if not warn
- echo "Assigning GNU: to GoldFish-Vol2-1:GNU ..."
- assign GNU: GoldFish-Vol2-1:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to GoldFish-Vol2-1:Useful ..."
- assign USEFUL: GoldFish-Vol2-1:Useful
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: GoldFish-Vol2-1:
- endif
- endif
-
- ; Look for FreshFish Vol 7 (Nov/Dec 1994) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Vol7: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-Vol7:GNU ..."
- assign GNU: FreshFish-Vol7:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to FreshFish-Vol7:Useful ..."
- assign USEFUL: FreshFish-Vol7:Useful
- assign BSD: FreshFish-Vol7:BSD
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: FreshFish-Vol7:
- endif
- endif
-
- ; Look for FreshFish Vol 6 (Sep/Oct 1994) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Sep94: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-Sep94:GNU ..."
- assign GNU: FreshFish-Sep94:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to FreshFish-Sep94:Useful ..."
- assign USEFUL: FreshFish-Sep94:Useful
- assign BSD: FreshFish-Sep94:BSD
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: FreshFish-Sep94:
- endif
- endif
-
- ; Look for FreshFish Vol 5 (Jul/Aug 1994) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Jul94: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-Jul94:GNU ..."
- assign GNU: FreshFish-Jul94:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Assigning USEFUL: to FreshFish-Jul94:Useful ..."
- assign USEFUL: FreshFish-Jul94:Useful
- assign BSD: FreshFish-Jul94:BSD
- echo "Running USEFUL:Sys/S/Useful-Startup..."
- execute USEFUL:Sys/S/Useful-Startup
- assign FFCD: FreshFish-Jul94:
- endif
- endif
-
- ; Look for FreshFish Vol 4 (May/June 1994) CD-ROM.
- ; This CD-ROM split FFCD-Startup into GNU-Startup and Useful-Startup.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-May94: exists >nil:
- if not warn
- echo "Assigning GNU: to FreshFish-May94:GNU ..."
- assign GNU: FreshFish-May94:GNU
- echo "Running GNU:Sys/S/GNU-Startup..."
- execute GNU:Sys/S/GNU-Startup
- echo "Running FreshFish-May94:Useful/Sys/S/Useful-Startup..."
- execute FreshFish-May94:Useful/Sys/S/Useful-Startup
- assign FFCD: FreshFish-May94:
- endif
- endif
-
- ; Look for FreshFish Vol 3 (March/April 1994) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Mar94: exists >nil:
- if not warn
- echo "Running FreshFish-Mar94:Useful/Sys/S/FFCD-Startup..."
- execute FreshFish-Mar94:Useful/Sys/S/FFCD-Startup
- assign FFCD: FreshFish-Mar94:
- endif
- endif
-
- ; Look for FreshFish Vol 2 (December 1993) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FreshFish-Dec93: exists >nil:
- if not warn
- echo "Running FreshFish-Dec93:Useful/s/FFCD-Startup..."
- execute FreshFish-Dec93:Useful/s/FFCD-Startup
- assign FFCD: FreshFish-Dec93:
- endif
- endif
-
- ; Look for FreshFish Vo1 1 (October 1993) CD-ROM.
- assign FFCD: exists >nil:
- if warn
- assign FFMCD01: exists >nil:
- if not warn
- echo "Running FFMCD01:Useful/s/FFCD-Startup..."
- execute FFMCD01:Useful/s/FFCD-Startup
- assign FFCD: FFMCD01:
- endif
- endif
-