Last active
October 23, 2020 14:20
-
-
Save melissacoleman/ff05d8fea5e2113ddb8628352c9e9ade to your computer and use it in GitHub Desktop.
Service for safe-to-power-off image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=safe-to-power-off image | |
DefaultDependencies=no | |
After=umount.target | |
Before=final.target | |
[Service] | |
ExecStart=/usr/bin/python3 /path/to/framebuffer-pythonscript.py -img /path/to/unplugimage.jpg | |
Type=oneshot | |
[Install] | |
WantedBy=shutdown.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
while execute shutdown command, I can't see any image on framebuffer screen.