mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
12 lines
311 B
Desktop File
12 lines
311 B
Desktop File
[Unit]
|
|
Description=usb media swupdate service
|
|
Requires=swupdate.service
|
|
Wants=swupdate-progress.service
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/mkdir -p /tmp/%I
|
|
ExecStartPre=/bin/mount /dev/%I /tmp/%I
|
|
ExecStart=/bin/sh -c "swupdate-client -v /tmp/%I/*.swu"
|
|
ExecStopPost=/bin/umount /tmp/%I
|
|
ExecStopPost=/bin/rmdir /tmp/%I
|