From 7a06b578de03e0953e2f58c6d758d38dd9789bf4 Mon Sep 17 00:00:00 2001 From: cheetah Date: Sun, 4 Apr 2021 16:03:01 +0000 Subject: [PATCH] edited bash exampl --- examples/bash/smartpager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/bash/smartpager.sh b/examples/bash/smartpager.sh index 5a7aa0e..81fe023 100644 --- a/examples/bash/smartpager.sh +++ b/examples/bash/smartpager.sh @@ -36,8 +36,8 @@ is_msg_resp() { ENDPOINT="http://127.0.0.1:3000" #echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123" -#msgid=$(echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123") -msgid="Bznka" +msgid=$(echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123") +#msgid="Bznka" msg_status "$ENDPOINT" "$msgid" @@ -46,4 +46,4 @@ if is_msg_recv "$ENDPOINT" "$msgid"; then fi if is_msg_read "$ENDPOINT" "$msgid"; then echo "message is read" -fi \ No newline at end of file +fi