--- laptop_mode 2010-10-22 17:34:41.000000000 +0400 +++ /etc/init.d/laptop_mode 2010-10-22 18:11:19.000000000 +0400 @@ -22,6 +22,9 @@ checkconfig || return 1 ebegin "Starting laptop_mode" + # bug #342049 fix + # check if dir exists and creates if it doesn't + checkpath -d -m 755 /var/run/laptop-mode-tools touch /var/run/laptop-mode-tools/enabled /usr/sbin/laptop_mode auto >/dev/null eend $?