[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
|
# Mellanox HW Management
|
||||||
|
|
||||||
MLNX_HW_MANAGEMENT_VERSION = V1.0.0165
|
MLNX_HW_MANAGEMENT_VERSION = V.1.0.0166
|
||||||
|
|
||||||
export MLNX_HW_MANAGEMENT_VERSION
|
export MLNX_HW_MANAGEMENT_VERSION
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ new file mode 100644
|
|||||||
index 0000000..d18916d
|
index 0000000..d18916d
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/debian/hw-management.service
|
+++ b/debian/hw-management.service
|
||||||
@@ -0,0 +1,12 @@
|
@@ -0,0 +1,11 @@
|
||||||
+[Unit]
|
+[Unit]
|
||||||
+Description=Mellanox Hardware Management
|
+Description=Mellanox Hardware Management
|
||||||
+
|
+
|
||||||
@ -37,8 +37,7 @@ index 0000000..d18916d
|
|||||||
+Type=oneshot
|
+Type=oneshot
|
||||||
+RemainAfterExit=true
|
+RemainAfterExit=true
|
||||||
+EnvironmentFile=/host/machine.conf
|
+EnvironmentFile=/host/machine.conf
|
||||||
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start"
|
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start_eeprom"
|
||||||
+ExecStop=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management stop"
|
|
||||||
+
|
+
|
||||||
+[Install]
|
+[Install]
|
||||||
+WantedBy=multi-user.target
|
+WantedBy=multi-user.target
|
||||||
|
Reference in New Issue
Block a user