To disable sleep run the following commands for f in $(ls -l /dev/disk/by-id/ | grep ata-ST | rev | cut -d'/' -f1 | rev | sed 's/9//g' | sed 's/1//g' | sort | uniq); do /opt/openseachest/openSeaChest-v23.03.1-linux-x86_64-portable/openSeaChest_PowerControl -d "/dev/${f}" --powerBalanceFeature disable; done for f in $(ls -l /dev/disk/by-id/ | grep ata-ST | rev | cut -d'/' -f1 | rev | sed 's/9//g' | sed 's/1//g' | sort | uniq); do /opt/openseachest/openSeaChest-v23.03.1-linux-x86_64-portable/openSeaChest_PowerControl -d "/dev/${f}" --EPCfeature disable; done