Lines 22-27
Link Here
|
22 |
checkconfig || return 1 |
22 |
checkconfig || return 1 |
23 |
|
23 |
|
24 |
ebegin "Starting laptop_mode" |
24 |
ebegin "Starting laptop_mode" |
|
|
25 |
# bug #342049 fix |
26 |
# check if dir exists and creates if it doesn't |
27 |
checkpath -d -m 755 /var/run/laptop-mode-tools |
25 |
touch /var/run/laptop-mode-tools/enabled |
28 |
touch /var/run/laptop-mode-tools/enabled |
26 |
/usr/sbin/laptop_mode auto >/dev/null |
29 |
/usr/sbin/laptop_mode auto >/dev/null |
27 |
eend $? |
30 |
eend $? |