Update AutoUpdate.sh

This commit is contained in:
Hyy2001X 2020-09-27 12:27:14 +08:00 committed by GitHub
parent 58f0aa36d8
commit f902c27076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if [ "$CURRENT_VERSION" == "" ]; then
fi
CURRENT_DEVICE=`jsonfilter -e '@.model.id' < "/etc/board.json" | tr ',' '_'`
if [ "$CURRENT_DEVICE" == "" ]; then
echo -e "\n警告:当前设备名称获取失败,使用预设名称[$TARGET_PROFILE]"
echo -e "\n警告:当前设备名称获取失败,使用预设名称[$DEFAULT_DEVICE]"
CURRENT_DEVICE=$DEFAULT_DEVICE
fi
cd /tmp