remove etc

This commit is contained in:
2024-03-30 22:30:22 +08:00
parent 33afc3a688
commit c29d9d920f
2 changed files with 3 additions and 7 deletions

View File

@@ -18,9 +18,8 @@ restore() {
# 恢复已安装软件列表
opkg update
cat packages-list.txt | cut -f 1 -d ' ' | xargs opkg install
# 分别恢复overlay、etc目录
# 恢复overlay
tar -xzvf overlay_backup.tar.gz -C /
tar -xzvf etc_backup.tar.gz -C /
green "恢复已完成, 系统正在重启....."
reboot
else