[mellanox] Introduced start EEPROM action. (#2996)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
This commit is contained in:
parent
d9ff70b33b
commit
3459c54c89
@ -1,6 +1,6 @@
|
||||
# Mellanox HW Management
|
||||
|
||||
MLNX_HW_MANAGEMENT_VERSION = V1.0.0165
|
||||
MLNX_HW_MANAGEMENT_VERSION = V.1.0.0166
|
||||
|
||||
export MLNX_HW_MANAGEMENT_VERSION
|
||||
|
||||
|
@ -29,7 +29,7 @@ new file mode 100644
|
||||
index 0000000..d18916d
|
||||
--- /dev/null
|
||||
+++ b/debian/hw-management.service
|
||||
@@ -0,0 +1,12 @@
|
||||
@@ -0,0 +1,11 @@
|
||||
+[Unit]
|
||||
+Description=Mellanox Hardware Management
|
||||
+
|
||||
@ -37,8 +37,7 @@ index 0000000..d18916d
|
||||
+Type=oneshot
|
||||
+RemainAfterExit=true
|
||||
+EnvironmentFile=/host/machine.conf
|
||||
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start"
|
||||
+ExecStop=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management stop"
|
||||
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start_eeprom"
|
||||
+
|
||||
+[Install]
|
||||
+WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user