Skip to content

Commit

Permalink
[reboot] update reboot script to retrieve platform with new format (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
yxieca committed Feb 21, 2018
1 parent 35967e5 commit 05b910a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function stop_sonic_services()
}

# Obtain our platform as we will mount directories with these names in each docker
PLATFORM=`sonic-cfggen -H -v DEVICE_METADATA.hwsku.platform`
PLATFORM=`sonic-cfggen -H -v DEVICE_METADATA.localhost.platform`

DEVPATH="/usr/share/sonic/device"
REBOOT="platform_reboot"
Expand Down

0 comments on commit 05b910a

Please sign in to comment.