Initial Commit
- initial default booting image
This commit is contained in:
11
package/swupdate/swupdate-usb@.service
Normal file
11
package/swupdate/swupdate-usb@.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user