Files
onefinity-firmware/installer/config/onefinity-poweroff.service
2022-09-14 02:58:24 +00:00

16 lines
310 B
Desktop File

[Unit]
Description=Turn off HDMI at powerdown
DefaultDependencies=no
Before=umount.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c ' \
killall xinit \
&& plymouth change-mode --shutdown show-splash \
&& sleep 10s \
&& /usr/bin/vcgencmd display_power 0 '
[Install]
WantedBy=poweroff.target