summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-08-30 18:16:23 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-08-30 18:16:23 +0000
commit55956e479e17568fb26040389cfac1cd8e94ede0 (patch)
tree266eab0b8ec56473468e43e16541194d290de68b /app-laptop/laptop-mode-tools/files
parentInitial import. (diff)
downloadgentoo-2-55956e479e17568fb26040389cfac1cd8e94ede0.tar.gz
gentoo-2-55956e479e17568fb26040389cfac1cd8e94ede0.tar.bz2
gentoo-2-55956e479e17568fb26040389cfac1cd8e94ede0.zip
Honor .conf files only, bug#482974, thanks to Steev Klimaszewski
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'app-laptop/laptop-mode-tools/files')
-rw-r--r--app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.63-conf.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.63-conf.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.63-conf.patch
new file mode 100644
index 000000000000..67002b91437a
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.63-conf.patch
@@ -0,0 +1,29 @@
+From 6f81613ebd2ef7eba88ea2edd596f9441be2c294 Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Thu, 13 Jun 2013 12:18:45 +0530
+Subject: [PATCH] Honor .conf files only
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Thanks: Sven Köhler
+---
+ usr/sbin/laptop_mode | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode
+index 71beab2..070f1de 100755
+--- a/usr/sbin/laptop_mode
++++ b/usr/sbin/laptop_mode
+@@ -234,7 +234,7 @@ lmt_load_config ()
+ test -d /etc/laptop-mode/conf.d/board-specific && CONF_DIR="$CONF_DIR /etc/laptop-mode/conf.d/board-specific"
+
+ for PER_DIR in $CONF_DIR; do
+- for CONF in $PER_DIR/*; do
++ for CONF in $PER_DIR/*.conf; do
+ if [ -r "$CONF" ] ; then
+ . "$CONF"
+ #Handle individual module debug settings
+--
+1.8.1.6
+