diff --git a/packages/bsp/common/etc/update-motd.d/10-armbian-header b/packages/bsp/common/etc/update-motd.d/10-armbian-header index 7b8ee7096bea..df947c2d56be 100755 --- a/packages/bsp/common/etc/update-motd.d/10-armbian-header +++ b/packages/bsp/common/etc/update-motd.d/10-armbian-header @@ -56,7 +56,7 @@ for f in $MOTD_DISABLE; do done function get_wan_address() { - curl --connect-timeout 2 -s http://whatismyip.akamai.com/ + curl --max-time 2 -s http://whatismyip.akamai.com/ } # get wan ip address function get_ip_addresses() {