disable SN invalid tips

This commit is contained in:
Ing 2023-06-28 22:35:27 +08:00
parent 72a8895c36
commit eeaa04ad96

View File

@ -544,6 +544,8 @@ function cmdlineMenu() {
elif [ $(validateSerial ${MODEL} ${SERIAL}) -eq 1 ]; then
break
fi
# At present, the SN rules are not complete, and many SNs are not truly invalid, so not provide tips now.
break
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Cmdline")" \
--yesno "$(TEXT "Invalid serial, continue?")" 0 0
[ $? -eq 0 ] && break