You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (whiptail $BG_COLOR_WARNING --title "TOTP/HOTP code mismatched" \
475
-
--yesno "TOTP/HOTP code mismatches could indicate either TPM tampering or clock drift:\n\nTo correct clock drift: 'date -s HH:MM:SS'\nand save it to the RTC: 'hwclock -w'\nthen reboot and try again.\n\nWould you like to exit to a recovery console?" 0 80) then
475
+
--yesno "TOTP/HOTP code mismatches could indicate either TPM tampering or clock drift:\n\nTo correct clock drift: 'date -s yyyy-MM-DD hh:mm:ss' in UTC timezone\nand save it to the RTC: 'hwclock -w'\nthen reboot and try again.\n\nWould you like to exit to a recovery console?" 0 80) then
476
476
echo""
477
-
echo"To correct clock drift: 'date -s HH:MM:SS'"
477
+
echo"To correct clock drift: 'date -s yyyy-MM-DD hh:mm:ss' in UTC timezone"
478
478
echo"and save it to the RTC: 'hwclock -w'"
479
-
echo"then reboot and try again"
479
+
echo""
480
+
echo"Alternatively you could do this automatically with an Ethernet cable connected to a functional network: 'network-init-recovery'"
0 commit comments