22 lines
248 B
Bash
22 lines
248 B
Bash
#
|
|
# disk/scripts/quiet.start
|
|
#
|
|
|
|
function _usb {
|
|
source "$usb_bash"
|
|
}
|
|
_usb
|
|
|
|
function _ata {
|
|
source "$ata_bash"
|
|
}
|
|
ata=$(_ata)
|
|
|
|
[[ "$ata" ]] && hdparm -q -S120 -B200 -M200 $ata
|
|
|
|
unset _ata _usb ata
|
|
|
|
#
|
|
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
|
#
|