From bb0dc5392570387acc8a4402e9d9bc719a172505 Mon Sep 17 00:00:00 2001 From: zhao Date: Wed, 8 Jan 2025 01:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20etc/uci-defaults/99-custom?= =?UTF-8?q?.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- etc/uci-defaults/{01-pppoe.sh => 99-custom.sh} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename etc/uci-defaults/{01-pppoe.sh => 99-custom.sh} (73%) diff --git a/etc/uci-defaults/01-pppoe.sh b/etc/uci-defaults/99-custom.sh similarity index 73% rename from etc/uci-defaults/01-pppoe.sh rename to etc/uci-defaults/99-custom.sh index 784384c..dd0b72e 100644 --- a/etc/uci-defaults/01-pppoe.sh +++ b/etc/uci-defaults/99-custom.sh @@ -14,4 +14,11 @@ uci commit firewall uci add dhcp domain uci set "dhcp.@domain[-1].name=time.android.com" uci set "dhcp.@domain[-1].ip=203.107.6.88" -uci commit dhcp \ No newline at end of file +uci commit dhcp + +# 设置所有网口可访问网页终端 +uci delete ttyd.@ttyd[0].interface + +# 设置所有网口可连接 SSH +uci set dropbear.@dropbear[0].Interface='' +uci commit \ No newline at end of file