add example for how to run cpufreq-set
authorMike Frysinger <vapier@gentoo.org>
Mon, 26 Feb 2007 02:25:16 +0000 (02:25 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 26 Feb 2007 02:25:16 +0000 (02:25 +0000)
Package-Manager: portage-2.1.2-r10

sys-power/acpid/Manifest
sys-power/acpid/files/acpid-1.0.4-default.sh

index 688faefaa84943fa9de20e735fd7b19297c2f303..fa119a998ab5a8f0f3f3a902d5e08ddb81f13c45 100644 (file)
@@ -1,11 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 SHA1 e74b2f7388c303fc3d3e33c0500d4b8185474dce SHA256 2b18111978043d68848983a54dfc946dd9b9b15592d0f4dc33491599dbe24b23
 MD5 414d143f4c5e83c422f706f671820e6d files/acpid-1.0.4-default 663
 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 files/acpid-1.0.4-default 663
 SHA256 2b18111978043d68848983a54dfc946dd9b9b15592d0f4dc33491599dbe24b23 files/acpid-1.0.4-default 663
-AUX acpid-1.0.4-default.sh 987 RMD160 988e02c77444496552ac31550f6dab4acaf7e508 SHA1 285578a9cec8d7ff5fd127146fb864a72a4e4f12 SHA256 b2c03e100b898d6eb79166a32cac2959b2c582c3473e94ad507f4699ead23b17
-MD5 8f63aaa0e4b629a4d3493a19ffbc15ea files/acpid-1.0.4-default.sh 987
-RMD160 988e02c77444496552ac31550f6dab4acaf7e508 files/acpid-1.0.4-default.sh 987
-SHA256 b2c03e100b898d6eb79166a32cac2959b2c582c3473e94ad507f4699ead23b17 files/acpid-1.0.4-default.sh 987
+AUX acpid-1.0.4-default.sh 1049 RMD160 a7f716ded9c2ca1b7026159b6512c854f3b4633e SHA1 a2c0c454f2d2773c4da312ae06594f2b989d840c SHA256 adc622411bb57cdb251ccd138cb8accddcb9f1e8f777587049629e0456189d10
+MD5 ae5da4648673bed1d127cfb66a09fb4e files/acpid-1.0.4-default.sh 1049
+RMD160 a7f716ded9c2ca1b7026159b6512c854f3b4633e files/acpid-1.0.4-default.sh 1049
+SHA256 adc622411bb57cdb251ccd138cb8accddcb9f1e8f777587049629e0456189d10 files/acpid-1.0.4-default.sh 1049
 AUX acpid-1.0.4-gcc4.patch 670 RMD160 a220b9a7b3ce3170e51d9858f971c6ded9181def SHA1 4fef14572d0ae27d4ccf9d6dd29c7e3211904ddc SHA256 42a72a1a3f29b42c8dd3bcc659bca5aec59de5c0abb162f13f73b7e6818c34de
 MD5 faf93dd3ae4cc7973d7375beea0738a3 files/acpid-1.0.4-gcc4.patch 670
 RMD160 a220b9a7b3ce3170e51d9858f971c6ded9181def files/acpid-1.0.4-gcc4.patch 670
@@ -52,3 +55,10 @@ SHA256 61dade4778db94978731c78df8c379a1ccb344b5d8727267e5f05fa71ef85538 files/di
 MD5 46612b0044e029d74a3cd52522aacd5a files/digest-acpid-1.0.4-r4 232
 RMD160 326422a4846448ae50d821c0c3e025be9f8cb3ef files/digest-acpid-1.0.4-r4 232
 SHA256 61dade4778db94978731c78df8c379a1ccb344b5d8727267e5f05fa71ef85538 files/digest-acpid-1.0.4-r4 232
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF4kVd8bi6rjpTunYRAr0aAKCp9ngcGZVkhMqiBgiQvHn7nRhPBACeIrNv
+Y4i+UUQt8LskfFeeCfmLvmE=
+=KIbG
+-----END PGP SIGNATURE-----
index 566f3a03864c3acf2c482c49bde1f3f38b0213db..a7104663833006455f3ab5e8842789d5a3b2f2fe 100755 (executable)
@@ -38,11 +38,13 @@ case "$group" in
                        # Add code here to handle when the system is unplugged
                        # (maybe change cpu scaling to powersave mode)
                        #*0)
+                       #       cpufreq-set -g powersave
                        #       ;;
 
                        # Add code here to handle when the system is plugged in
                        # (maybe change cpu scaling to performance mode)
                        #*1)
+                       #       cpufreq-set -g performance
                        #       ;;
 
                        *)      log_unhandled $* ;;