Fix IVPN status script.
This commit is contained in:
parent
83b9a13f9e
commit
ae7045c12c
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
STATUS=`ivpn status | awk '{print "\\\n"$0}' | head -n -4`
|
STATUS=`ivpn status | awk '{print "\\\n"$0}' | head -n -1`
|
||||||
TOOLTIP=`echo -E ${STATUS} | cut -c 3-`
|
TOOLTIP=`echo -E ${STATUS} | cut -c 3-`
|
||||||
CLASS=`echo ${STATUS} | grep 'VPN' | awk '{print $3}' | tr [:upper:] [:lower:]`
|
CLASS=`echo ${STATUS} | grep 'VPN' | awk '{print $3}' | tr [:upper:] [:lower:]`
|
||||||
TEXT=""
|
TEXT=""
|
||||||
|
|
Loading…
Reference in a new issue