Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[Match]
|
||||
Name=usb0
|
||||
[Address]
|
||||
Address=169.254.100.100/16
|
||||
[Network]
|
||||
LinkLocalAddressing=no
|
||||
IPv6AcceptRA=no
|
||||
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user