update rtc script

This commit is contained in:
Qubot 2025-04-08 08:43:22 +08:00
parent d58385d0bc
commit c80f3e62ef

View File

@ -8,7 +8,7 @@ echo " "
echo " "
echo " "
echo "######################################################################################"
echo "############################### MT7988a RTC Testing Start ##########################"
echo "############################### BPI-RV2 RTC Testing Start ##########################"
date -s 2028-08-08
hwclock -w
@ -16,11 +16,11 @@ date -s 2021-01-01
line=`hwclock -r | grep "2028-08-08" | wc -l`
if [ $line -eq 1 ]; then
echo " "
echo "### MT7988a RTC can work fine ### "
echo "### BPI-RV2 RTC can work fine ### "
echo " "
else
echo " "
echo "Error Notice: MT7988a RTC can not work fine."
echo "Error Notice: BPI-RV2 RTC can not work fine."
echo " "
RET=1
fi