Skip to content

Commit

Permalink
Update diy-part.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
paomo8707 authored Jun 10, 2024
1 parent 6e806cb commit c95e900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Lede/diy-part.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export Automatic_Mount_Settings="0" # 编译时加入开启NTFS格式
export Disable_autosamba="1" # 去掉源码默认自选的luci-app-samba或luci-app-samba4(1为启用命令,填0为不作修改)

# 强制显示2500M和全双工(默认PVE下VirtIO不识别)
#sed -i '/exit 0/i\ethtool -s eth0 speed 10000 duplex full' /etc/rc.local
sed -i '/exit 0/i\ethtool -s eth0 speed 10000 duplex full' /etc/rc.local

# 手动更换默认主题
# uci set luci.main.mediaurlbase='/luci-static/neobird' && uci commit luci
Expand All @@ -73,7 +73,7 @@ export Disable_autosamba="1" # 去掉源码默认自选的luci-a
export Ttyd_account_free_login="0" # 设置ttyd免密登录(1为启用命令,填0为不作修改)
export Delete_unnecessary_items="0" # 个别机型内一堆其他机型固件,删除其他机型的,只保留当前主机型固件(1为启用命令,填0为不作修改)
export Disable_53_redirection="0" # 删除DNS强制重定向53端口防火墙规则(个别源码本身不带此功能)(1为启用命令,填0为不作修改)
export Cancel_running="0" # 取消路由器每天跑分任务(个别源码本身不带此功能)(1为启用命令,填0为不作修改)
export Cancel_running="1" # 取消路由器每天跑分任务(个别源码本身不带此功能)(1为启用命令,填0为不作修改)


# 晶晨CPU系列打包固件设置(不懂请看说明)
Expand Down

0 comments on commit c95e900

Please sign in to comment.