Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions scripts/watchdog
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ function disable_watchdog()
fi
elif isMLNX; then
debug "Calling MLNX WD disable"
# call watchdog api for mlnx
if [[ -x /usr/bin/hw-management-wd.sh ]]; then
/usr/bin/hw-management-wd.sh stop
fi
else
if isArista; then
debug "Calling Arista WD disable"
Expand All @@ -84,7 +86,9 @@ function enable_watchdog()
fi
elif isMLNX; then
debug "Calling MLNX WD enable"
# call watchdog api for mlnx
if [[ -x /usr/bin/hw-management-wd.sh ]]; then
/usr/bin/hw-management-wd.sh start 180
fi
else
if isArista; then
debug "Calling Arista WD enable"
Expand Down