mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-09-02 20:31:45 +02:00
Merge pull request #1395 from jsloan117/dev_syntax_cleanup
Removing useless cat in vpnbook
This commit is contained in:
commit
2384f4e6ab
@ -12,4 +12,4 @@ curl -s -X POST --header "apikey: 5a64d478-9c89-43d8-88e3-c65de9999580" \
|
|||||||
-F 'detectOrientation=false' \
|
-F 'detectOrientation=false' \
|
||||||
-F 'isTable=false' \
|
-F 'isTable=false' \
|
||||||
"https://api.ocr.space/parse/image" -o /tmp/vpnbook_pwd
|
"https://api.ocr.space/parse/image" -o /tmp/vpnbook_pwd
|
||||||
export OPENVPN_PASSWORD=$(cat /tmp/vpnbook_pwd | awk -F',' '{ print $1 }' | awk -F':' '{print $NF}' | tr -d '"')
|
export OPENVPN_PASSWORD=$(awk -F',' '{ print $1 }' /tmp/vpnbook_pwd | awk -F':' '{print $NF}' | tr -d '"')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user