etc-gentoo/hprofile/profiles/disk/scripts/bat.start

22 lines
246 B
Bash

#
# disk/scripts/bat.start
#
function _usb {
source "$usb_bash"
}
_usb
function _ata {
source "$ata_bash"
}
ata=$(_ata)
[[ "$ata" ]] && hdparm -q -S120 -B210 -M230 $ata
unset _ata _usb ata
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#