diff --git a/a/laptop-mode-tools/laptop-mode-tools.SlackBuild b/a/laptop-mode-tools/laptop-mode-tools.SlackBuild index 56b08e26..993a3c5b 100755 --- a/a/laptop-mode-tools/laptop-mode-tools.SlackBuild +++ b/a/laptop-mode-tools/laptop-mode-tools.SlackBuild @@ -86,6 +86,11 @@ config() { } config etc/rc.d/rc.laptop-mode.new + +grep -q "rc\.laptop-mode" /etc/rc.d/rc.local || cat <> /etc/rc.d/rc.local + +[ -x /etc/rc.d/rc.laptop-mode ] && /etc/rc.d/rc.laptop-mode start +EORCLOCAL EOF cat < install/slack-desc