saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

View File

@@ -0,0 +1 @@
AC

View File

@@ -0,0 +1,4 @@
AC
Medium
Battery
Dynamic

View File

@@ -0,0 +1,22 @@
#!/bin/bash
# This script should echo only the name of the profile that should be used
# It should assume it is called before any other scripts. In particular, it
# cannot rely on environment variables set in /etc/profile or elsewhere. The
# script may assume it will be run as root.
profile="AC"
if test -f /proc/acpi/ac_adapter/AC0/state ; then
status="$(cat /proc/acpi/ac_adapter/AC0/state)"
case "${status}" in
*on-line)
profile="AC"
;;
*off-line)
profile="Battery"
;;
esac
fi
echo "${profile}"

View File

@@ -0,0 +1,4 @@
#!/bin/bash
speedfreq -p performance
echo "15" > /proc/acpi/asus/brn

View File

@@ -0,0 +1,4 @@
#!/bin/bash
speedfreq -p powersave
echo "6" > /proc/acpi/asus/brn

View File

@@ -0,0 +1,4 @@
#!/bin/bash
speedfreq -p dynamic

View File

@@ -0,0 +1,4 @@
#!/bin/bash
speedfreq -p 1000
echo "11" > /proc/acpi/asus/brn