Update diy-script.sh

This commit is contained in:
Hyy2001X
2020-09-19 16:12:10 +08:00
committed by GitHub
parent 979ace28cb
commit 3369819425
+1
View File
@@ -59,6 +59,7 @@ ExtraPackages git OpenClash https://github.com/vernesong master
Diy-Part2() {
echo "[$(date "+%H:%M:%S")] Current Openwrt version: $Lede_Version-`date +%Y%m%d`"
echo "[$(date "+%H:%M:%S")] Current Device: $TARGET_PROFILE"
if [ ! $(grep -o "Compiled by $Author" $Default_File | wc -l) = "1" ];then
sed -i "s?$Lede_Version?$Lede_Version Compiled by $Author [$Compile_Date]?g" $Default_File
fi