mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 15:24:45 +00:00
Update diy-script.sh
This commit is contained in:
@@ -83,7 +83,9 @@ echo "Author: $Author"
|
|||||||
echo "Current Openwrt version: $Lede_Version-`date +%Y%m%d`"
|
echo "Current Openwrt version: $Lede_Version-`date +%Y%m%d`"
|
||||||
echo "Current Device: $TARGET_PROFILE"
|
echo "Current Device: $TARGET_PROFILE"
|
||||||
sed -i "s?$Lede_Version?$Lede_Version Compiled by $Author [$Compile_Date]?g" $Default_File
|
sed -i "s?$Lede_Version?$Lede_Version Compiled by $Author [$Compile_Date]?g" $Default_File
|
||||||
echo "$Lede_Version-`date +%Y%m%d`" > ./package/base-files/files/etc/openwrt_date
|
echo "$Lede_Version-`date +%Y%m%d`" > ./package/base-files/files/etc/openwrt_info
|
||||||
|
echo "$TARGET_PROFILE" >> ./package/base-files/files/etc/openwrt_info
|
||||||
|
echo "$Author" >> ./package/base-files/files/etc/openwrt_info
|
||||||
}
|
}
|
||||||
|
|
||||||
Diy-Part3() {
|
Diy-Part3() {
|
||||||
|
|||||||
Reference in New Issue
Block a user