16 lines
503 B
SYSTEMD
16 lines
503 B
SYSTEMD
|
[Unit]
|
||
|
Description=Android vendor firmware extraction
|
||
|
Wants=sysinit.target make-dynpart-mappings@system_a.service
|
||
|
After=-.mount tmp.mount boot.mount make-dynpart-mappings@system_a.service
|
||
|
Before=plymouth-quit.service display-manager.service
|
||
|
ConditionPathExists=!/var/lib/droid-juicer/status.json
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStartPre=-/usr/bin/plymouth display-message --text="Extracting binary firmware..."
|
||
|
ExecStart=/usr/bin/droid-juicer
|
||
|
ExecStartPost=/usr/sbin/reboot
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=basic.target
|