saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
17
init.d/power-profile
Executable file
17
init.d/power-profile
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2003 Gentoo Technologies, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /home/cvsroot/gentoo-x86/sys-apps/speedfreq/files/speedfreq.rc,v 1.1 2003/08/21 02:31:55 vapier Exp $
|
||||
|
||||
depend() {
|
||||
need modules logger
|
||||
use speedfreq
|
||||
}
|
||||
|
||||
start() {
|
||||
profile=$(/usr/sbin/hpdet power)
|
||||
ebegin "Selecting power profile ${profile}"
|
||||
/usr/sbin/hprofile power
|
||||
eend $?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user