Skip to content

Commit

Permalink
Remove exec from platform_reboot_plugin call to handle any hang issue. (
Browse files Browse the repository at this point in the history
#1879)

What I did
Remove exec from the platform_reboot call to handle any hang issue during reboot

How I did it
Remove "exec" from " exec ${DEVPATH}/${PLATFORM}/${PLAT_REBOOT} $@"

How to verify it
Perform sudo reboot after DE initializing the platfom driver and see if the device gracefully reboots by /sbin/reboot after failing on platform_reboot.
  • Loading branch information
sujinmkang authored Oct 14, 2021
1 parent 827fcee commit d8ee5e9
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 @@ -198,7 +198,7 @@ fi

if [ -x ${DEVPATH}/${PLATFORM}/${PLAT_REBOOT} ]; then
VERBOSE=yes debug "Rebooting with platform ${PLATFORM} specific tool ..."
exec ${DEVPATH}/${PLATFORM}/${PLAT_REBOOT} $@
${DEVPATH}/${PLATFORM}/${PLAT_REBOOT} $@

# There are a couple reasons execution reaches here:
#
Expand Down

0 comments on commit d8ee5e9

Please sign in to comment.