From ac3a8fde9c4db5e90902988b0e46cf5ab8dfbc72 Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Fri, 27 Mar 2020 20:15:50 +0800 Subject: [PATCH] Update autoupdate.sh --- scripts/autoupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index cae1d71..c7acce5 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -1,7 +1,7 @@ #!/bin/sh cd /mnt/mmcblk0p2 -rm -rf artifact R2S*.zip FriendlyWrt*.img +rm -rf artifact R2S*.zip FriendlyWrt*img* wget https://github.com/klever1988/nanopi-openwrt/releases/download/R2S-Minimal-$(date +%Y-%m-%d)/R2S-Minimal-$(date +%Y-%m-%d)-ROM.zip if [ -f /mnt/mmcblk0p2/R2S*.zip ]; then echo -e '\e[92m今天固件已下载,准备解压\e[0m'