home *** CD-ROM | disk | FTP | other *** search
-
- ; password install 07/30/89
-
- echo "*n*n PASSWORD INSTALLATION SCRIPT FOR DF0: (not recommended for hard-disks)*n*n"
- echo " This script will install the password program and all supporting"
- echo " files to your system disk. Your startup-sequence and startupII"
- echo " scripts will be changed along with your dir command as described in"
- echo " the password program documentation.*n"
- echo " It is recommended that you backup all files before proceeding.*n"
- echo " All files included with the password program must now be in the"
- echo " current directory.*n"
- echo " You must have about 50 blocks of free disk space to install password."
- info df0:
- echo "*n*n This script will modify your system disk,"
- ask " do you want to proceed? [ y N ]: "
- if warn
- echo "*n*n Verifying file existance and locations: " NOLINE
- if not exists c:
- echo "*n*n ERROR: Can't find the c: directory.*n*n"
- quit
- endif
- if not exists s:
- echo "*n*n ERROR: Can't find the s: directory.*n*n"
- quit
- endif
- if not exists password
- echo "*n*n ERROR: Can't find the password program.*n*n"
- quit
- endif
- if not exists startup-sequence
- echo "*n*n ERROR: Can't find the startup-sequence script.*n*n"
- quit
- endif
- if not exists startupii
- echo "*n*n ERROR: Can't find the startupII script.*n*n"
- quit
- endif
- if not exists c:dir
- echo "*n*n ERROR: Can't find the c:dir program.*n*n"
- quit
- endif
- if not exists loop
- echo "*n*n ERROR: Can't find the loop program.*n*n"
- quit
- endif
- if not exists s:shell-startup
- echo "*n*n ERROR: Can't find the s:shell-startup script.*n*n"
- quit
- endif
- echo "*n*n All file/locations located, copying files: " NOLINE
- copy password c:
- copy startup-sequence s:
- copy startupii s:
- copy shell-startup s:
- rename c:dir c:dirx
- copy loop c:dir
- echo "*n*n*n Your boot disk has now been prepared for password protection,"
- echo " you may need to modify the startup-sequence and startupII for"
- echo " your particular application.*n*n*n"
- echo " It is recommended that you execute a dir command at the prompt"
- echo " as an example if dir is ever executed again without the disk"
- echo " being booted using the password program.*n"
- echo " You must reboot once the dir program is executed......*n*n "
- else
- echo "*n*n*n Password files not copied, due to user request.*n*n"
- endif
-