]> Zhao Yanbai Git Server - minix.git/commitdiff
No label stuff. All drivers.
authorBen Gras <ben@minix3.org>
Fri, 10 Mar 2006 12:43:26 +0000 (12:43 +0000)
committerBen Gras <ben@minix3.org>
Fri, 10 Mar 2006 12:43:26 +0000 (12:43 +0000)
etc/rc.rescue

index 818d62b11b316149bdf75e784c430a0dcc0b55e9..cb46085443bd2b152b87055968cba292f73eb5c3 100644 (file)
@@ -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