[Slackbuilds-users] possible bug in laptop_mode

V'yacheslav Stetskevych slava18 at gmail.com
Fri Oct 29 18:47:30 UTC 2010


On Fri, Oct 29, 2010 at 5:06 PM, Grissiom <chaos.proton at gmail.com> wrote:
> Hello all,

Hi Grissiom.

> In the official page of laptop_mode, the dev suggested add
> `/etc/rc.d/init.d/laptop-mode restart` in rc.local (
> http://samwel.tk/laptop_mode/packages/slackware ). But the README in
> SBo's laptop_mode said we should add `/etc/rc.d/rc.laptop-mode start`
> in rc.local. i don't know which side is right...
>
> The reason of laptop_mode's dev is "Slackware doesn't completely clear
> /var/run on bootup". But after some investment in rc.S, we are
> cleaning /var/run (line 328 of that file). So what does "completely"
> there? Should we use "start" or "restart" in this case?
>

As the writer of laptop-mode-tools SlackBuild, I can assure you that
the info on the site is just outdated. I use "start" and it works
fine. Slackware cleans /var/run properly.

Cheers,
V'yacheslav.

-- 
If you think of MS-DOS as mono, and Windows as stereo,
then Linux is Dolby Digital and all the music is free...
       http://www.linux.com


More information about the SlackBuilds-users mailing list