143496 【江西银行】【备份还原】一键还原之后,开始菜单、任务栏、桌面不应该存在需求要求之外的图标图标
This commit is contained in:
parent
9407bb0ce1
commit
f7098d1343
|
@ -1079,12 +1079,17 @@ restoreAuto() { #还原
|
|||
|
||||
echo "Begin to restore other directories..."
|
||||
echo "Begin to restore other directories..." >>$PLOGFILE
|
||||
# 143496 【江西银行】【备份还原】一键还原之后,开始菜单、任务栏、桌面不应该存在需求要求之外的图标图标
|
||||
if [ ! -e "${restoreDir}/${PERSONAL_INCLUDEFILE}" ]; then
|
||||
touch ${restoreDir}/${PERSONAL_INCLUDEFILE}
|
||||
fi
|
||||
echo "/var/log/hedron/policy_cache.json" > ${restoreDir}/${PERSONAL_INCLUDEFILE}
|
||||
sync
|
||||
echo "${restoreDir}/${PERSONAL_INCLUDEFILE}中的内容:" >> ${rootpath}/var/log/backup.log
|
||||
cat ${restoreDir}/${PERSONAL_INCLUDEFILE} >> ${rootpath}/var/log/backup.log
|
||||
#保留用户数据还原
|
||||
if [[ x${m_isRetainUserData} = x"true" ]]; then
|
||||
echo "保留用户数据还原" >> ${rootpath}/var/log/backup.log
|
||||
# 143496 【江西银行】【备份还原】一键还原之后,开始菜单、任务栏、桌面不应该存在需求要求之外的图标图标
|
||||
echo "/var/log/hedron/policy_cache.json" > ${restoreDir}/${PERSONAL_INCLUDEFILE}
|
||||
sync
|
||||
# 用户数据目录或文件
|
||||
if [ -e "${rootpath}/var/lib/biometric-auth" ]; then
|
||||
excludes="${excludes} --exclude=/var/lib/biometric-auth"
|
||||
|
|
Loading…
Reference in New Issue