From 103d23dd57333bcc3ef3a8ecf84dee4bd63123cb Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Wed, 19 Apr 2023 16:53:00 +0300 Subject: [PATCH] Fix dump echo --- check-hirkn.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/check-hirkn.sh b/check-hirkn.sh index 6938243..c87a08b 100755 --- a/check-hirkn.sh +++ b/check-hirkn.sh @@ -276,11 +276,12 @@ if [[ "$1" == dump ]]; then uci show firewall >> $DUMP uci show network | sed -r 's/(.*private_key=|.*preshared_key=|.*public_key=|.*endpoint_host=|.*wan.ipaddr=|.*wan.netmask=|.*wan.gateway=|.*wan.dns|.*.macaddr=).*/\1REMOVED/' >> $DUMP + echo "Dump is here: $DUMP" echo "For download Linux/Mac use:" - echo -e "scp root@IP_ROUTER:$DUMP .\n" - echo "For Windows use PSCP or WSL. File dump location: $DUMP" + echo "scp root@IP_ROUTER:$DUMP ." + echo "For Windows use PSCP or WSL" fi # Info -echo "Telegram channel: https://t.me/itdoginfo" +echo -e "\nTelegram channel: https://t.me/itdoginfo" echo "Telegram chat: https://t.me/itdogchat"