diff --git a/OpenWrt/upload.sh b/OpenWrt/upload.sh index 56722cf..208ae92 100644 --- a/OpenWrt/upload.sh +++ b/OpenWrt/upload.sh @@ -62,7 +62,7 @@ done echo "重命名文件..." for file in openwrt*; do if [ -e "$file" ]; then - newname="zerowrt-plus-${DATE}${file#openwrt}" + newname="zerowrt-plus-${date}${file#openwrt}" echo "重命名: $file → $newname" mv -- "$file" "$newname" fi