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

9 lines
212 B
SYSTEMD
Raw Normal View History

[Unit]
Description=usb media 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