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 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 Jul/Aug 1994 FreshFish 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 May/June 1994 FreshFish 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 March/April 1994 FreshFish 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 December 1993 Freshfish 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 October 1993 Freshfish 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
-