Unverified Commit 87e8007b authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

Update custom.sh

parent d835ac7d
...@@ -26,14 +26,12 @@ elif [ "$count" -gt 1 ]; then ...@@ -26,14 +26,12 @@ elif [ "$count" -gt 1 ]; then
uci set network.lan.ipaddr='192.168.100.1' uci set network.lan.ipaddr='192.168.100.1'
fi fi
# 设置所有网口可连接 SSH
uci set dropbear.@dropbear[0].Interface=''
uci commit
# 设置所有网口可访问网页终端 # 设置所有网口可访问网页终端
uci delete ttyd.@ttyd[0].interface uci delete ttyd.@ttyd[0].interface
uci commit ttyd
# 设置所有网口可连接 SSH
uci set dropbear.@dropbear[0].Interface=''
uci commit
# 设置编译作者信息 # 设置编译作者信息
FILE_PATH="/etc/openwrt_release" FILE_PATH="/etc/openwrt_release"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment