applesmcd.service: fix for starting correctly at boot
appleir.service: removed, support is automatic in kernel
This commit is contained in:
parent
c13b5d1e0e
commit
430cd0fe22
1
Makefile
1
Makefile
@ -26,7 +26,6 @@ install: backlight applesmc
|
||||
install -s -m 4755 backlight $(DESTDIR)$(BINDIR)
|
||||
install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/
|
||||
install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service
|
||||
install -m 0644 appleir.service $(DESTDIR)/lib/systemd/system/appleir.service
|
||||
install -m 0755 applesmcd $(DESTDIR)$(SBINDIR)/
|
||||
install -m 0644 macbook-modprobe $(DESTDIR)/lib/modprobe.d/macbook.conf
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
[Unit]
|
||||
Description=lircd Apple IR remote daemon
|
||||
ConditionPathExists=/dev/appleir
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/lircd -H macmini /usr/share/lirc/configs/macmini.conf
|
@ -32,7 +32,7 @@ while [ "1" ]; do
|
||||
else
|
||||
[ $BACKLIGHT -gt 255 ] && BACKLIGHT=255
|
||||
fi
|
||||
echo "LightM=$LIGHTM Backlight=$BACKLIGHT "
|
||||
# echo "LightM=$LIGHTM Backlight=$BACKLIGHT "
|
||||
applesmc $BACKLIGHT
|
||||
# echo $BACKLIGHT > /sys/devices/platform/applesmc.768/keyboard_backlight
|
||||
# CURRBACKLIGHT=$BACKLIGHT
|
||||
|
@ -4,3 +4,6 @@ ConditionPathExists=/sys/devices/platform/applesmc.768
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/applesmcd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user