From: Roman Bazalevskiy Date: Sat, 30 Nov 2013 13:36:09 +0000 (+0400) Subject: Конфигурационный файл для upstart добавлен X-Git-Url: https://git.rvb.name/zenbook-als.git/commitdiff_plain/967051443410c10e1d18abace04defb2e47d1ad2?ds=inline Конфигурационный файл для upstart добавлен --- diff --git a/als.conf b/als.conf new file mode 100644 index 0000000..9781928 --- /dev/null +++ b/als.conf @@ -0,0 +1,13 @@ +description "Ambient light sensor" + +start on runlevel [2345] + +stop on runlevel [016] + +post-start script + /usr/local/bin/als-controller & +end script + +post-stop script + pkill als-controller +end script