home *** CD-ROM | disk | FTP | other *** search
- ;***
- ;*** $VER: SystemMover_Eng 1.2 (13.8.96) by Flavio Stanchina & Sandro Tolaini
- ;***
-
- Echo "SystemMover 1.1 -- by Flavio Stanchina & Sandro Tolaini*N"
-
- Echo "This script will create a boot disk suitable for restoring"
- Echo "BackMan backups in emergency situation. You will need a"
- Echo "blank floppy disk and MUI + BackMan already installed.*N"
- Ask "Do you want to continue? (y/N):"
-
- If NOT WARN
- Quit
- EndIf
-
- ;*** Format disk in DF0:
-
- Echo "*NInsert a blank disk into DF0:*N"
- Format DRIVE DF0: NAME "BackMan" FFS NOICONS
- Install DRIVE DF0: FFS
-
- ;*** Create directories
-
- Echo "*NCreating directories..."
- MakeDir >NIL: DF0:C DF0:S DF0:Libs DF0:Libs/MUI DF0:Libs/Compressors DF0:L
-
- ;*** Copy system files
-
- Echo "*NCopying system files..."
- Copy C:(SetPatch|LoadWb|Assign|MakeDir) TO DF0:C QUIET
- Copy LIBS:(asl|commodities|version|xpkmaster|iffparse).library TO DF0:Libs QUIET
- Copy LIBS:Compressors TO DF0:Libs/Compressors QUIET
- If EXISTS "LIBS:68040.library"
- Copy LIBS:68040.library TO DF0:Libs QUIET
- EndIf
-
- ;*** Copy MUI files
-
- Echo "*NCopying MUI files..."
- Copy MUI:Libs TO DF0:Libs QUIET
- Copy MUI:Libs/MUI TO DF0:Libs/MUI QUIET
-
- ;*** Copy BackMan files
-
- Echo "*NCopying BackMan files..."
- Copy BackMan BackManMUI BackManMUI.info TO DF0: QUIET
- Copy Images TO DF0:Images ALL QUIET
-
- If EXISTS "BackMan.key"
- Copy BackMan.key TO DF0: QUIET
- Else
- Echo "No keyfile found! Remember to register and copy here the keyfile!"
- EndIf
-
- If EXISTS "BackMan.cfg"
- Copy BackMan.cfg TO DF0: QUIET
- Else
- Echo "No config found! Remember to configure BackMan!"
- EndIf
-
- ;*** Make Startup-Sequence
-
- Echo "*NMaking Startup-Sequence"
- Echo >DF0:S/Startup-Sequence "SetPatch >NIL: QUIET"
- Echo >>DF0:S/Startup-Sequence "MakeDir >NIL: RAM:ENV RAM:T"
- Echo >>DF0:S/Startup-Sequence "Assign >NIL: ENV: RAM:ENV"
- Echo >>DF0:S/Startup-Sequence "Assign >NIL: T: RAM:T"
- Echo >>DF0:S/Startup-Sequence "Assign >NIL: LIBS: SYS:Libs/MUI ADD"
- Echo >>DF0:S/Startup-Sequence "LoadWb >NIL:"
- Echo >>DF0:S/Startup-Sequence "EndCli >NIL:"
-
- Echo "*NAll OK! Test this floppy to make sure it's working!"
- Echo "*NREMEMBER: If you use special devices such as diskspare.device don't"
- Echo "forget to copy the needed driver in the DEVS: directory of the"
- Echo "emergency boot disk, or you will not be able to restore anything!"
-
- ;*** EOF ***
-