Show proper button name while checking THOR download mode and change
'reboot' to 'reboot reason' to make it clear what it is being checked.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I543b020ea3a9ae3459f7a57d07db410945f45676
#define REBOOT_CHECK \
"sm reboot_reason reason; " \
- "echo \"reboot ${reason}\"; " \
+ "echo \"Reboot reason: ${reason}\"; " \
"if test ${reason} = download; then " \
"thor; " \
"fi"
#define BUTTON_CHECK \
- "echo Checking Func button state (for THOR download mode): \\\\\\\\c; " \
+ "echo \"Checking ${button_label} button state (for THOR download mode): \\\\\\\\c\"; " \
"sleep 0.25; " \
"if button ${button_label}; then " \
"thor; " \