From f1f2a41b56fab26ba0b4390329e3abc3370e19fb Mon Sep 17 00:00:00 2001 From: xiagw Date: Sun, 27 Oct 2024 11:25:34 +0800 Subject: [PATCH] update ddns.sh include.sh --- bin/ddns.sh | 4 ++-- bin/include.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/ddns.sh b/bin/ddns.sh index 3df0cd5e..6207c0e1 100755 --- a/bin/ddns.sh +++ b/bin/ddns.sh @@ -34,8 +34,8 @@ _get_config() { _get_saved_ip() { ip4_last=$(tail -n1 "$g_me_log" | awk '{print $4}') ip6_last=$(tail -n1 "$g_me_log" | awk '{print $6}') - _msg "get old IPv4 from log file: $ip4_last" - _msg "get old IPv6 from log file: $ip6_last" + _msg yellow "get old IPv4 from log file: $ip4_last" + _msg yellow "get old IPv6 from log file: $ip6_last" } # address with netmask diff --git a/bin/include.sh b/bin/include.sh index f64f63f4..c7986348 100644 --- a/bin/include.sh +++ b/bin/include.sh @@ -227,8 +227,8 @@ _get_current_ip() { fi ;; esac - _msg green "get IPv4: $ip4_current" - _msg green "get IPv6: $ip6_current" + _msg green "get current IPv4: $ip4_current" + _msg green "get current IPv6: $ip6_current" } _install_jmeter() {