diff options
Diffstat (limited to 'app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch')
-rw-r--r-- | app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch b/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch deleted file mode 100644 index 233f2050a3d4..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 8c0db5f5fa48ca3580bc3f7fe9fdea346857c20e Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sat, 16 Mar 2013 17:00:27 +0530 -Subject: [PATCH 17/20] Initialize variables early, before being referenced - ---- - usr/sbin/laptop_mode | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode -index bc1d02a..48e6ad4 100755 ---- a/usr/sbin/laptop_mode -+++ b/usr/sbin/laptop_mode -@@ -508,6 +508,9 @@ lmt_load_config () - fi - - -+ INIT=0 # Display info in init script format? -+ FORCE=0 # Force reapplying the current state? -+ INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon - - # Evaluate options passed to laptop_mode in here - if [ "$1" = "status" ] ; then -@@ -599,9 +602,6 @@ lmt_load_config () - exit 1 - fi - -- INIT=0 # Display info in init script format? -- FORCE=0 # Force reapplying the current state? -- INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon - while [ "$1" != "" ] ; do - case "$1" in - init) INIT=1 ;; --- -1.8.1.5 - |