- Added video.conf file to turn on DPMS when opening the laptop lid.
Disabled by default.
This commit is contained in:
parent
f047198fa7
commit
107c11f10b
@ -1,12 +1,13 @@
|
|||||||
Summary: ACPI Event Daemon
|
Summary: ACPI Event Daemon
|
||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 1.2
|
Release: 2
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
||||||
Source1: acpid.logrotate
|
Source1: acpid.logrotate
|
||||||
Source2: acpid.init
|
Source2: acpid.init
|
||||||
|
Source3: acpid.video.conf
|
||||||
Patch1: acpid-1.0.3-conf.patch
|
Patch1: acpid-1.0.3-conf.patch
|
||||||
Patch2: acpid-1.0.3-makefile.patch
|
Patch2: acpid-1.0.3-makefile.patch
|
||||||
Patch3: acpid-1.0.4-warning.patch
|
Patch3: acpid-1.0.4-warning.patch
|
||||||
@ -39,6 +40,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/acpi/events
|
|||||||
mkdir -p $RPM_BUILD_ROOT/etc/acpi/actions
|
mkdir -p $RPM_BUILD_ROOT/etc/acpi/actions
|
||||||
chmod 755 $RPM_BUILD_ROOT/etc/acpi/events
|
chmod 755 $RPM_BUILD_ROOT/etc/acpi/events
|
||||||
install -m 644 samples/sample.conf $RPM_BUILD_ROOT/etc/acpi/events
|
install -m 644 samples/sample.conf $RPM_BUILD_ROOT/etc/acpi/events
|
||||||
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/acpi/events/video.conf
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/log
|
mkdir -p $RPM_BUILD_ROOT/var/log
|
||||||
touch $RPM_BUILD_ROOT/var/log/acpid
|
touch $RPM_BUILD_ROOT/var/log/acpid
|
||||||
@ -61,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /etc/acpi/events
|
%dir /etc/acpi/events
|
||||||
%dir /etc/acpi/actions
|
%dir /etc/acpi/actions
|
||||||
%config %attr(0644,root,root) /etc/acpi/events/sample.conf
|
%config %attr(0644,root,root) /etc/acpi/events/sample.conf
|
||||||
|
%config %attr(0644,root,root) /etc/acpi/events/video.conf
|
||||||
%config /etc/logrotate.d/acpid
|
%config /etc/logrotate.d/acpid
|
||||||
%verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/log/acpid
|
%verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/log/acpid
|
||||||
/usr/bin/acpi_listen
|
/usr/bin/acpi_listen
|
||||||
@ -85,6 +88,10 @@ if [ "$1" -ge "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 01 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-2
|
||||||
|
- Added video.conf file to turn on DPMS when opening the laptop lid. Disabled
|
||||||
|
by default.
|
||||||
|
|
||||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-1.2
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-1.2
|
||||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||||
|
|
||||||
|
6
acpid.video.conf
Normal file
6
acpid.video.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Configuration to turn on DPMS again on video activity, needed for some
|
||||||
|
# laptops. Disabled by default, uncomment if your laptop display stays blank
|
||||||
|
# after you close and open the lid.
|
||||||
|
|
||||||
|
#event=video.*
|
||||||
|
#action=/usr/sbin/vbetool dpms on
|
Loading…
Reference in New Issue
Block a user