minix/etc/rc.rescue
2006-03-10 14:35:15 +00:00

15 lines
271 B
Bash

#!/bin/sh
DRIVERS=/sbin
RESCUE=/boot/rescue
if [ "$1" != start ]
then exit
fi
set -e
service up $DRIVERS/rescue -dev /dev/rescue -args 128 -period 4HZ
mkfs /dev/rescue
mount /dev/rescue $RESCUE
cd $DRIVERS
cp -p at_wini floppy bios_wini $RESCUE
service rescue $RESCUE