Aramil, for more than one disk, try this: for disk in /sys/class/scsi_disk/* ; do echo 1 > $disk/stop_on_shutdown ; done
(BTW, I personally prefer to add this to /etc/rc.local, instead of creating a new script file)
Aramil, for more than one disk, try this: scsi_disk/ * ; do echo 1 > $disk/stop_ on_shutdown ; done
for disk in /sys/class/
(BTW, I personally prefer to add this to /etc/rc.local, instead of creating a new script file)