Repo Init with files
This commit is contained in:
13
lib/systemd/system/usbgadget.service
Normal file
13
lib/systemd/system/usbgadget.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=My USB gadget
|
||||
After=systemd-modules-load.service network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/local/sbin/usb-gadget.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
Reference in New Issue
Block a user