From: Ben Gras Date: Fri, 10 Mar 2006 12:43:26 +0000 (+0000) Subject: No label stuff. All drivers. X-Git-Tag: v3.1.2a~269 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch11.html?a=commitdiff_plain;h=bf081105f1a20030d2fd5b6e9cdcb27fcde61def;p=minix.git No label stuff. All drivers. --- diff --git a/etc/rc.rescue b/etc/rc.rescue index 818d62b11..cb4608544 100644 --- a/etc/rc.rescue +++ b/etc/rc.rescue @@ -6,22 +6,10 @@ if [ "$1" != start ] then exit fi +set -e service up $DRIVERS/rescue -dev /dev/rescue -args 128 -period 4HZ -mkfs /dev/rescue || exit -mount /dev/rescue $RESCUE || exit -label=`sysenv label` -case "$label" in -AT) - d=at_wini - ;; -FLOPPY) - d=floppy - ;; -BIOS) - d=bios_wini - ;; -*) exit - ;; -esac -cp $DRIVERS/$d $RESCUE/driver +mkfs /dev/rescue +mount /dev/rescue $RESCUE +cd $DRIVERS +cp at_wini floppy bios_wini $RESCUE service rescue $RESCUE