summaryrefslogtreecommitdiff
path: root/meta-bytedance/recipes-bytedance/usb-network/files/usb_network.service
blob: bb20acdbfa954add647e0b207119254f8f163546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Enable usb network
After=phosphor-ipmi-host.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/usb-ctrl ecm usbeth0 on
ExecStop=/usr/bin/usb-ctrl ecm usbeth0 off

[Install]
WantedBy=multi-user.target