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

22 lines
246 B
Bash

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