sonic-buildimage/platform/mellanox/hw-management/0001-Make-SONiC-determine-reboot-cause-service-start-afte.patch

27 lines
807 B
Diff
Raw Normal View History

From 5a7bf8934772b94a2414f54cb3e343d0d1d81efd Mon Sep 17 00:00:00 2001
From: keboliu <kebol@mellanox.com>
Date: Fri, 15 Jan 2021 14:41:16 +0800
Subject: [PATCH 1/3] Make SONiC determine-reboot-cause service start after
hw-mgmt service
Signed-off-by: Kebo Liu <kebol@nvidia.com>
---
debian/hw-management.hw-management.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/hw-management.hw-management.service b/debian/hw-management.hw-management.service
index 8bdcaef5..1c25ffb2 100755
--- a/debian/hw-management.hw-management.service
+++ b/debian/hw-management.hw-management.service
@@ -1,6 +1,7 @@
[Unit]
Description=Chassis HW management service of Mellanox systems
Documentation=man:hw-management.service(8)
+Before=determine-reboot-cause.service
[Service]
Type=oneshot
--
2.30.2