Skip to content

Commit

Permalink
[201811] Remove exec from platform_reboot_plugin call to handle any h…
Browse files Browse the repository at this point in the history
…ang issue. (#1880)

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 d8d0461 commit 6b351c9
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 @@ -155,7 +155,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 6b351c9

Please sign in to comment.