Skip to content

Commit

Permalink
Update lede_diy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
OldCoding committed Dec 15, 2024
1 parent 2bae66a commit aae0efc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lede_diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ sed -i "s|services|network|g" feeds/luci/applications/luci-app-nlbwmon/root/usr/

# 微信推送&全能推送
sed -i "s|qidian|bilibili|g" feeds/luci/applications/luci-app-pushbot/root/usr/bin/pushbot/pushbot
# homebox
latest_ver=$(curl -sfL https://api.github.com/repos/XGHeaven/homebox/releases/latest |grep -E 'tag_name'|head -n1|cut -d '"' -f4|sed 's/\./\\\./g')
sed -i "s/\$(PKG_VERSION)/${latest_ver:1}/" package/homebox/Makefile
sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=${latest_ver:14}/" package/homebox/Makefile
# 个性化设置
cd package
sed -i "s/LEDE /Wing build $(TZ=UTC-8 date "+%Y.%m.%d") @ LEDE /g" lean/default-settings/files/zzz-default-settings
Expand Down

0 comments on commit aae0efc

Please sign in to comment.