Skip to content

Commit

Permalink
Update diy-part.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shidahuilang authored Mar 19, 2024
1 parent 09ca6ff commit 1d111ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/Lede/diy-part.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ export rootfs_size="2560"
export kernel_usage="stable"


# OpenClash调整
openclash="luci-app-openclash/root/etc/uci-defaults/luci-openclash"
sed -i '/exit/i\uci -q set openclash.config.dashboard_password="123456"' $openclash #设置默认控制面板登录密钥为123456
sed -i '/^#Set authentication$/,/^${uci_set}password=.*/d' $openclash #默认关闭SOCKS5/HTTP认证信息

# 修改插件名字
sed -i 's/"aMule设置"/"电驴下载"/g' `egrep "aMule设置" -rl ./`
Expand Down

0 comments on commit 1d111ac

Please sign in to comment.