minix/etc/rc.rescue

16 lines
271 B
Text
Raw Normal View History

#!/bin/sh
2006-02-17 15:05:46 +01:00
DRIVERS=/sbin
RESCUE=/boot/rescue
if [ "$1" != start ]
then exit
fi
2006-03-10 13:43:26 +01:00
set -e
service up $DRIVERS/rescue -dev /dev/rescue -args 128 -period 4HZ
2006-03-10 13:43:26 +01:00
mkfs /dev/rescue
mount /dev/rescue $RESCUE
cd $DRIVERS
2006-03-10 15:35:15 +01:00
cp -p at_wini floppy bios_wini $RESCUE
service rescue $RESCUE