Hi, On Sat, Mar 11, 2017 at 08:58:23PM +0100, Wolfgang Schweer wrote: > On Sat, Mar 11, 2017 at 03:12:48PM +0100, Evgeni Golov wrote: > > But with the help of fsateler and the postinst of src:puppet, I think I now > > have a working solution. Just call update-rc.d disable on a fresh install. > > > > Can you please test the attached patch? > > Tested on an up-to-date stretch system.
With systemd I guess? > Fresh install: ok (no errors during installation, disabled like > expected; works after providing a working config file and running > service thinkfan enable/start). > > Upgrade from version currently in stretch: > a) previously disabled: ok (no errors, still disabled). > b) previously enabled/running: ok (no errors, still running. > > Good job, congrats! Thanks! There is still one thing left: in the SysV case, the user will have to issue update-rc.d thinkfan enable AND edit /etc/default/thinkfan. Thinking how to fix that. Regards