#!/bin/rc # desc: save the current installation state, to be resumed later # prereq: # mustdo: switch($1) { case checkdone stop=notdone export stop case go coherence echo -n 'Please make sure the install floppy is in the floppy drive and press enter.' read >/dev/null >[2]/dev/null if(! a:) { echo 'Couldn''t mount the floppy disk; sorry.' exit } if(cp /tmp/vars /n/a:/9inst.cnf || cp /tmp/vars /n/a:/9inst.cnf) { echo 'Your install state has been saved to the install floppy.' halt } echo 'Couldn''t save the state to your install floppy. Sorry.' }