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
6 changes: 4 additions & 2 deletions scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function stop_sonic_services()
systemctl stop mux
fi

if [[ x"$ASIC_TYPE" != x"mellanox" ]]; then
if [[ x"$ASIC_TYPE" != x"mellanox" && x"$ASIC_TYPE" != x"pensando" ]]; then
ASIC_CONF=${DEVPATH}/$PLATFORM/asic.conf
if [ -f "$ASIC_CONF" ]; then
source $ASIC_CONF
Expand All @@ -122,7 +122,9 @@ function stop_sonic_services()
function stop_services_asan()
{
debug "Stopping swss for ASAN"
systemctl stop swss
if [[ x"$ASIC_TYPE" != x"pensando" ]]; then
systemctl stop swss
fi
}

function clear_warm_boot()
Expand Down
Loading