xref: /OK3568_Linux_fs/buildroot/package/swupdate/swupdate-usb@.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun[Unit]
2*4882a593SmuzhiyunDescription=usb media swupdate service
3*4882a593SmuzhiyunRequires=swupdate-progress.service
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun[Service]
6*4882a593SmuzhiyunExecStartPre=/bin/mount /dev/%I /mnt
7*4882a593SmuzhiyunExecStart=/bin/sh -c "swupdate-client -v /mnt/*.swu"
8*4882a593SmuzhiyunExecStopPost=/bin/umount /mnt
9