diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-22 23:36:11 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-22 23:36:11 +0300 |
commit | fd903aa972e43b76eebe7baa236e91ceac044def (patch) | |
tree | 1afdccfcbc894082b6c0dc10cb6745589a0bd470 | |
parent | 10d083d0b4bd0e02cef80ba13735c06ddedfccc6 (diff) |
get_token fix
-rwxr-xr-x | include.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ STATUS_FILE="modem_status.xml" get_token() { curl -s -X GET "http://$MODEM_IP/api/webserver/SesTokInfo" > ses_tok.xml COOKIE=$(grep "SessionID=" ses_tok.xml | cut -b 10-147) - TOKEN=$(grep "TokInfo" ses_tok.xml | cut -b 10-41`) + TOKEN=$(grep "TokInfo" ses_tok.xml | cut -b 10-41) rm ses_tok.xml } |