a4dd0aa09f
admin@sonic:~$ sudo hw-management-wd.sh Usage: hw-management-wd.sh start [timeout] | stop | tleft | check_reset | help start - start watchdog timeout is optional. Default value will be used in case if it's omitted timeout provided in seconds stop - stop watchdog tleft - check watchdog timeout left check_reset - check if previous reset was caused by watchdog Prints only in case of watchdog reset help -this help Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
9 lines
239 B
Makefile
9 lines
239 B
Makefile
# Mellanox script for enabling/disabling hardware watchdog
|
|
|
|
HW_MANAGEMENT_WD_SCRIPT = hw-management-wd.sh
|
|
$(HW_MANAGEMENT_WD_SCRIPT)_PATH = platform/mellanox/
|
|
SONIC_COPY_FILES += $(HW_MANAGEMENT_WD_SCRIPT)
|
|
|
|
export HW_MANAGEMENT_WD_SCRIPT
|
|
|