Skip to content

Commit d8ee5e9

Browse files
authored
Remove exec from platform_reboot_plugin call to handle any hang issue. (#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.
1 parent 827fcee commit d8ee5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/reboot

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ fi
198198

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

203203
# There are a couple reasons execution reaches here:
204204
#

0 commit comments

Comments
 (0)