Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
87e8007b
Unverified
Commit
87e8007b
authored
Dec 07, 2024
by
wukongdaily
Committed by
GitHub
Dec 07, 2024
Browse files
Update custom.sh
parent
d835ac7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
files/etc/uci-defaults/custom.sh
files/etc/uci-defaults/custom.sh
+3
-5
No files found.
files/etc/uci-defaults/custom.sh
View file @
87e8007b
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment