If you have a Chromebook, one of the files that gets installed via their laptop-mode-tools is /etc/laptop-mode-tools/conf.d/board-specific/usb-autosuspend.conf The code in /usr/sbin/laptop_mode looks at /etc/laptop-mode-tools/conf.d/board-specific* So what happens is if you have e.g. that usb-autosuspend.conf file, there are messages printed when starting or stopping the service: rose init.d # /etc/init.d/laptop_mode restart * Stopping laptop_mode ... /usr/sbin/laptop_mode: line 239: .: /etc/laptop-mode/conf.d/board-specific: is a directory [ ok ] * Starting laptop_mode ... /usr/sbin/laptop_mode: line 239: .: /etc/laptop-mode/conf.d/board-specific: is a directory Upstream has fixed it in the commit linked in the URL, by only looking for CONF/*.conf (iirc) This fixes the issue and you see: rose init.d # /etc/init.d/laptop_mode restart * Stopping laptop_mode ... [ ok ] * Starting laptop_mode ... Reproducible: Always
Fixed in laptop-mode-tools-1.63-r3, thanks!