Hello,
I need to write an init script that will run the following commands for me:
echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 3 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 5 0" > /proc/scsi/scsi
Just in case you are wondering what this is, I have a firewire hardrive enclosure with 6 ide drives. The system finds the drive controller but in order to detect the actual drives I have to be typing those in manually into the command line every time i reboot. So what I want to do i have an init file that will run these commands for me at boot. I need to know what the initfile should look like and where exactly i should place it. I appreciate all the help.
Thanks,
Eddie Fernandez
CCNA, Network+, A+, MCP
I need to write an init script that will run the following commands for me:
echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 3 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 5 0" > /proc/scsi/scsi
Just in case you are wondering what this is, I have a firewire hardrive enclosure with 6 ide drives. The system finds the drive controller but in order to detect the actual drives I have to be typing those in manually into the command line every time i reboot. So what I want to do i have an init file that will run these commands for me at boot. I need to know what the initfile should look like and where exactly i should place it. I appreciate all the help.
Thanks,
Eddie Fernandez
CCNA, Network+, A+, MCP