Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32076 Details for
Bug 45593
laptop mode init script for Gentoo Linux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
laptop-mode-20040403.ebuild
laptop-mode-20040403.ebuild (text/plain), 861 bytes, created by
Dennis Nienhüser (RETIRED)
on 2004-05-26 08:40:06 UTC
(
hide
)
Description:
laptop-mode-20040403.ebuild
Filename:
MIME Type:
Creator:
Dennis Nienhüser (RETIRED)
Created:
2004-05-26 08:40:06 UTC
Size:
861 bytes
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >S=${WORKDIR} > >DESCRIPTION="Script to control laptop mode" >HOMEPAGE="http://www.kernel.org" >SRC_URI="" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" > >IUSE="" >DEPEND="" >RDEPEND="virtual/linux-sources > sys-apps/sed > sys-apps/hdparm" > >src_unpack() { > return >} > > >src_compile() { > return >} > > >src_install() { > dodir /etc/conf.d > insinto /etc/conf.d > newins ${FILESDIR}/laptop-mode.conf laptop-mode > > dodir /etc/init.d > exeinto /etc/init.d > newexe ${FILESDIR}/laptop-mode.init laptop-mode >} > >pkg_postinst() { > if [ ! -e /proc/sys/vm/laptop_mode ] > then > echo > ewarn "The current kernel is not configured with support for laptop-mode." > ewarn "Please apply the laptop_mode patch if needed and reconfigure" > ewarn "your kernel". > echo > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45593
:
27911
|
27912
|
32076
|
32077
|
32078
|
34630
|
34631
|
39036
|
39037
|
39477
|
41295
|
41296
|
48913
|
51525
|
51527