saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
21
hprofile/profiles/disk/scripts/bat.start
Normal file
21
hprofile/profiles/disk/scripts/bat.start
Normal file
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# 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:
|
||||
#
|
||||
Reference in New Issue
Block a user