saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
4
hprofile/profiles/power/scripts/AC.start
Executable file
4
hprofile/profiles/power/scripts/AC.start
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
speedfreq -p performance
|
||||
echo "15" > /proc/acpi/asus/brn
|
||||
4
hprofile/profiles/power/scripts/Battery.start
Executable file
4
hprofile/profiles/power/scripts/Battery.start
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
speedfreq -p powersave
|
||||
echo "6" > /proc/acpi/asus/brn
|
||||
4
hprofile/profiles/power/scripts/Dynamic.start
Executable file
4
hprofile/profiles/power/scripts/Dynamic.start
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
speedfreq -p dynamic
|
||||
|
||||
4
hprofile/profiles/power/scripts/Medium.start
Executable file
4
hprofile/profiles/power/scripts/Medium.start
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
speedfreq -p 1000
|
||||
echo "11" > /proc/acpi/asus/brn
|
||||
15
hprofile/profiles/power/scripts/adp.start
Normal file
15
hprofile/profiles/power/scripts/adp.start
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# power/scripts/adp.start
|
||||
#
|
||||
|
||||
start "powersave" "auto" "auto" "min_power" "1" "0" "1000" "default"
|
||||
start-profile "disk" "adp"
|
||||
|
||||
if [[ "$DISPLAY" ]]; then
|
||||
xbacklight -set 30
|
||||
xset dpms 300 400 600
|
||||
fi
|
||||
|
||||
#
|
||||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
||||
#
|
||||
16
hprofile/profiles/power/scripts/bat.start
Normal file
16
hprofile/profiles/power/scripts/bat.start
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# power/scripts/bat.start
|
||||
#
|
||||
#
|
||||
|
||||
start "powersave" "auto" "auto" "min_power" "1" "0" "1500" "powersave"
|
||||
start-profile "disk" "bat"
|
||||
|
||||
if [[ "$DISPLAY" ]]; then
|
||||
xbacklight -set 30
|
||||
xset dpms 300 400 600
|
||||
fi
|
||||
|
||||
#
|
||||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
||||
#
|
||||
15
hprofile/profiles/power/scripts/dyn.start
Normal file
15
hprofile/profiles/power/scripts/dyn.start
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# power/scripts/dyn.start
|
||||
#
|
||||
|
||||
start "performance" "on" "on" "mix_power" "0" "1" "500" "performance"
|
||||
start-profile "disk" "dyn"
|
||||
|
||||
if [[ "$DISPLAY" ]]; then
|
||||
xbacklight -set 30
|
||||
xset dpms 300 400 600
|
||||
fi
|
||||
|
||||
#
|
||||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
||||
#
|
||||
15
hprofile/profiles/power/scripts/med.start
Normal file
15
hprofile/profiles/power/scripts/med.start
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# power/scripts/med.start
|
||||
#
|
||||
|
||||
start "performance" "on" "on" "min_power" "0" "1" "500" "performance"
|
||||
start-profile "disk" "adp"
|
||||
|
||||
if [[ "$DISPLAY" ]]; then
|
||||
xbacklight -set 30
|
||||
xset dpms 300 400 600
|
||||
fi
|
||||
|
||||
#
|
||||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
||||
#
|
||||
15
hprofile/profiles/power/scripts/quiet.start
Normal file
15
hprofile/profiles/power/scripts/quiet.start
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# power/scripts/quiet.start
|
||||
#
|
||||
|
||||
start "powersave" "auto" "auto" "min_power" "1" "0" "2500" "powersave"
|
||||
start-profile "disk" "quiet"
|
||||
|
||||
if [[ "$DISPLAY" ]]; then
|
||||
xbacklight -set 30
|
||||
xset dpms 300 400 600
|
||||
fi
|
||||
|
||||
#
|
||||
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
|
||||
#
|
||||
Reference in New Issue
Block a user