#!/bin/bash

#TOSHIBA MG10ACA... DISK OPTIMIZATIONS
for i in /dev/sd[a-z];
do
        # turn advanced power management off
        sudo hdparm -B 255 $i
        # not supported! #sudo hdparm -M 255 $i
        # turn standby off
        sudo hdparm -S 0 $i;
done
