summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-18 07:08:02 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-18 07:08:02 +0000
commit664fc5f05e41c7ebb917d289e3065bc472103618 (patch)
tree5b9bf9f53c554fb3355e27649a677399841fdb15 /sys-apps
parentFixing bug 33396 (diff)
downloadgentoo-2-664fc5f05e41c7ebb917d289e3065bc472103618.tar.gz
gentoo-2-664fc5f05e41c7ebb917d289e3065bc472103618.tar.bz2
gentoo-2-664fc5f05e41c7ebb917d289e3065bc472103618.zip
allow for more options #33714
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/speedfreq/files/speedfreq.conf8
-rw-r--r--sys-apps/speedfreq/files/speedfreq.rc4
2 files changed, 5 insertions, 7 deletions
diff --git a/sys-apps/speedfreq/files/speedfreq.conf b/sys-apps/speedfreq/files/speedfreq.conf
index 96caf19ed6eb..ff276a979ecd 100644
--- a/sys-apps/speedfreq/files/speedfreq.conf
+++ b/sys-apps/speedfreq/files/speedfreq.conf
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/speedfreq/files/speedfreq.conf,v 1.2 2003/08/28 15:54:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/speedfreq/files/speedfreq.conf,v 1.3 2003/11/18 07:08:02 vapier Exp $
# Select here how you want your CPU to be controlled
# If you select auto you should use the battery.sh script
@@ -13,7 +13,5 @@
# auto let the init script detect current battery status
SPEEDFREQ_SPEED="auto"
-# If you want normal users to be able to control the speed
-# Default is to only allow root
-#SPEEDFREQ_USERS="yes"
-SPEEDFREQ_USERS="no"
+# For more options refer to `speedfreqd -h`
+SPEEDFREQ_OPTS=""
diff --git a/sys-apps/speedfreq/files/speedfreq.rc b/sys-apps/speedfreq/files/speedfreq.rc
index 15b241ec8ffa..853906c1a0c5 100644
--- a/sys-apps/speedfreq/files/speedfreq.rc
+++ b/sys-apps/speedfreq/files/speedfreq.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/speedfreq/files/speedfreq.rc,v 1.1 2003/08/21 02:31:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/speedfreq/files/speedfreq.rc,v 1.2 2003/11/18 07:08:02 vapier Exp $
depend() {
need modules logger
@@ -24,7 +24,7 @@ start() {
check_acpi
ebegin "Starting speedfreq"
- /usr/sbin/speedfreqd -P -p ${SPEEDFREQ_SPEED}
+ /usr/sbin/speedfreqd -P -p ${SPEEDFREQ_SPEED} ${SPEEDFREQ_OPTS}
eend $?
}