ubuntu-buildroot/package/swupdate/swupdate-usb@.service

10 lines
238 B
SYSTEMD
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
[Unit]
Description=usb media swupdate service
Requires=swupdate.service
Requires=swupdate-progress.service
[Service]
ExecStartPre=/bin/mount /dev/%I /mnt
ExecStart=/bin/sh -c "swupdate-client -v /mnt/*.swu"
ExecStopPost=/bin/umount /mnt