Finalize verified 2720 Flip release source and untrack image outputs
This commit is contained in:
1 parent
2a3078e42c
commit
1c011b360a
121 files changed
+8467
-686
No files matched your search
+34
@@ -0,0 +1,34 @@
|
||||
#!/sbin/openrc-run
|
||||
# Bananarchy cover display daemon. Only active on flip devices; the
|
||||
# lid-profile file is written by scripts/apply-bananarchy-overlay.sh.
|
||||
|
||||
description="Nokia 2720 Flip external cover display"
|
||||
# The recovered native bananarchy-coverd busy-loops at 100% CPU on the
|
||||
# spidev backend (gpio110/DC is owned by panel-mipi-dbi-spi) and paints
|
||||
# nothing. Keep that binary installed for the future spi-mux work, but run
|
||||
# the compiled idle IPC server in the default runlevel. No Python runs here.
|
||||
command="/usr/bin/bananarchy-cover-idle"
|
||||
command_args="--config /etc/bananarchy/cover-display.conf"
|
||||
command_background="yes"
|
||||
pidfile="/run/bananarchy/cover-display.pid"
|
||||
output_log="/run/bananarchy/cover-display.log"
|
||||
error_log="/run/bananarchy/cover-display.log"
|
||||
|
||||
depend() {
|
||||
need udev
|
||||
after udev-settle
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
mkdir -p /run/bananarchy
|
||||
chmod 0755 /run/bananarchy
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" != "flip" ]; then
|
||||
ebegin "Skipping cover display (not a flip device)"
|
||||
eend 0
|
||||
return 0
|
||||
fi
|
||||
default_start
|
||||
}
|
||||
Reference in new issue
Block a user