We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174bd2b commit 9c8c5b1Copy full SHA for 9c8c5b1
build-armbian/armbian-files/common-files/usr/sbin/armbian-fix
@@ -282,9 +282,9 @@ todo_rootfs_resize="/root/.no_rootfs_resize"
282
}
283
284
# Hidd the IP address of WAN
285
-[[ -f "/etc/update-motd.d/30-armbian-sysinfo" ]] && {
286
- sed -i 's|^curl.*akamai.*|curl -s http://whatismyip.akamai.com/ \| sed -r '\''s/(\.[0-9]+){2}$/.\*\*\*\.\*\*\*/'\''|' \
287
- /etc/update-motd.d/30-armbian-sysinfo
+[[ -f "/etc/update-motd.d/10-armbian-header" ]] && {
+ sed -i 's|^curl.*akamai.*|curl --connect-timeout 2 -s http://whatismyip.akamai.com/ \| sed -r '\''s/(\.[0-9]+){2}$/.\*\*\*\.\*\*\*/'\''|' \
+ /etc/update-motd.d/10-armbian-header
288
tolog "93. Hide the IP address of WAN"
289
290
0 commit comments