File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
33cd /mnt/mmcblk0p2
44rm -rf artifact R2S* .zip FriendlyWrt* img*
5- wget https://github.com/klever1988 /nanopi-openwrt/releases/download/R2S-Minimal-$( date +%Y-%m-%d) /R2S-Minimal-$( date +%Y-%m-%d) -ROM.zip
5+ wget https://github.com/biliwala /nanopi-openwrt/releases/download/R2S-Minimal-$( date +%Y-%m-%d) /R2S-Minimal-$( date +%Y-%m-%d) -ROM.zip
66if [ -f /mnt/mmcblk0p2/R2S* .zip ]; then
77 echo -e ' \e[92m今天固件已下载,准备解压\e[0m'
88else
99 echo -e ' \e[91m今天的固件还没更新,尝试下载昨天的固件\e[0m'
10- wget https://github.com/klever1988 /nanopi-openwrt/releases/download/R2S-Minimal-$( date -d " @$(( $(busybox date +% s) - 86400 )) " +%Y-%m-%d) /R2S-Minimal-$( date -d " @$(( $(busybox date +% s) - 86400 )) " +%Y-%m-%d) -ROM.zip
10+ wget https://github.com/biliwala /nanopi-openwrt/releases/download/R2S-Minimal-$( date -d " @$(( $(busybox date +% s) - 86400 )) " +%Y-%m-%d) /R2S-Minimal-$( date -d " @$(( $(busybox date +% s) - 86400 )) " +%Y-%m-%d) -ROM.zip
1111 if [ -f /mnt/mmcblk0p2/R2S* .zip ]; then
1212 echo -e ' \e[92m昨天的固件已下载,准备解压\e[0m'
1313 else
You can’t perform that action at this time.
0 commit comments