se505-buildsystem/stage1.skel/etc/init.d/rcS

21 lines
324 B
Bash
Executable File

#!/bin/sh
sleep 5
mount -t proc proc /proc
mount -t ext2 /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/
#while [ $? -ne 0 ]; do
# sleep 5
# mount -t ext2 /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/
# sleep 5
#done
cd /mnt
/sbin/pivot_root . initrd
mount -t proc proc /proc
mount -t devfs none /dev
kill -1 1