summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2022-04-05 04:35:49 +0300
committerWilliam A. Kennington III <wak@google.com>2022-04-06 01:48:59 +0300
commitcfec29ee86ce572e7c608aadfb6ddab015a30a6e (patch)
tree416f8dd3c77574bef1c0cac3c131d6e3f8fe2083 /meta-google/recipes-google
parenta68422b555ac8abd917383be57cb71a937672686 (diff)
downloadopenbmc-cfec29ee86ce572e7c608aadfb6ddab015a30a6e.tar.xz
meta-google: google-usb-network: Fix shutdown
We need to specify parameters to shut down the device cleanly. Change-Id: I4f6d3a5cd6aaebf9fb01a86ed78fc1f4737e41eb Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-google')
-rw-r--r--meta-google/recipes-google/networking/google-usb-network/usb_network.service.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-google/recipes-google/networking/google-usb-network/usb_network.service.m4 b/meta-google/recipes-google/networking/google-usb-network/usb_network.service.m4
index 252f4093fc..de65131849 100644
--- a/meta-google/recipes-google/networking/google-usb-network/usb_network.service.m4
+++ b/meta-google/recipes-google/networking/google-usb-network/usb_network.service.m4
@@ -23,7 +23,9 @@ ExecStart=M_SCRIPT_INSTALL_DIR/usb_network.sh \
DEV_MAC_ARG(M_BMC_USB_DEV_MAC) \
--iface-name "M_BMC_USB_IFACE" \
--bind-device "M_BMC_USB_BIND_DEV"
-ExecStop=M_SCRIPT_INSTALL_DIR/usb_network.sh stop
+ExecStop=M_SCRIPT_INSTALL_DIR/usb_network.sh stop \
+ --dev-type "M_BMC_USB_TYPE" \
+ --iface-name "M_BMC_USB_IFACE"
[Install]
WantedBy=multi-user.target