Commit 430cd0fe228177bacb19ebea20b7ba28af75f801

Authored by Silvan Calarco
1 parent c13b5d1e0e
Exists in master

applesmcd.service: fix for starting correctly at boot

appleir.service: removed, support is automatic in kernel

Showing 4 changed files with 4 additions and 8 deletions Side-by-side Diff

... ... @@ -26,7 +26,6 @@
26 26 install -s -m 4755 backlight $(DESTDIR)$(BINDIR)
27 27 install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/
28 28 install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service
29   - install -m 0644 appleir.service $(DESTDIR)/lib/systemd/system/appleir.service
30 29 install -m 0755 applesmcd $(DESTDIR)$(SBINDIR)/
31 30 install -m 0644 macbook-modprobe $(DESTDIR)/lib/modprobe.d/macbook.conf
32 31  
appleir.service
1   -[Unit]
2   -Description=lircd Apple IR remote daemon
3   -ConditionPathExists=/dev/appleir
4   -
5   -[Service]
6   -ExecStart=/usr/sbin/lircd -H macmini /usr/share/lirc/configs/macmini.conf
... ... @@ -32,7 +32,7 @@
32 32 else
33 33 [ $BACKLIGHT -gt 255 ] && BACKLIGHT=255
34 34 fi
35   - echo "LightM=$LIGHTM Backlight=$BACKLIGHT "
  35 +# echo "LightM=$LIGHTM Backlight=$BACKLIGHT "
36 36 applesmc $BACKLIGHT
37 37 # echo $BACKLIGHT > /sys/devices/platform/applesmc.768/keyboard_backlight
38 38 # CURRBACKLIGHT=$BACKLIGHT
... ... @@ -4,4 +4,7 @@
4 4  
5 5 [Service]
6 6 ExecStart=/usr/sbin/applesmcd
  7 +
  8 +[Install]
  9 +WantedBy=multi-user.target