Comment 76 for bug 67810

Tormod Volden (tormodvolden) wrote :

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)