[arch-commits] Commit in laptop-mode-tools/trunk (ChangeLog laptop-mode)

Eric Bélanger eric at archlinux.org
Thu Nov 26 15:09:47 EST 2009


    Date: Thursday, November 26, 2009 @ 15:09:46
  Author: eric
Revision: 59686

Added check for /var/run/laptop-mode-tools in daemon script (close FS#17240)

Modified:
  laptop-mode-tools/trunk/ChangeLog
  laptop-mode-tools/trunk/laptop-mode

-------------+
 ChangeLog   |    4 ++++
 laptop-mode |    1 +
 2 files changed, 5 insertions(+)

Modified: ChangeLog
===================================================================
--- ChangeLog	2009-11-26 20:09:28 UTC (rev 59685)
+++ ChangeLog	2009-11-26 20:09:46 UTC (rev 59686)
@@ -1,3 +1,7 @@
+2009-11-26  Eric Belanger  <eric at archlinux.org>
+
+	* Added check for /var/run/laptop-mode-tools in daemon script (close FS#17240)
+
 2009-10-14  Eric Belanger  <eric at archlinux.org>
 
 	* laptop-mode-tools 1.52-1

Modified: laptop-mode
===================================================================
--- laptop-mode	2009-11-26 20:09:28 UTC (rev 59685)
+++ laptop-mode	2009-11-26 20:09:46 UTC (rev 59686)
@@ -8,6 +8,7 @@
 case "$1" in
   start)
     stat_busy "Starting laptop-mode"
+    [ ! -d /var/run/laptop-mode-tools ] && install -d /var/run/laptop-mode-tools
     touch /var/run/laptop-mode-tools/enabled
     /usr/sbin/laptop_mode auto >/dev/null 2>&1
     if [ $? -gt 0 ]; then



More information about the arch-commits mailing list