mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Update announcer.j2
This commit is contained in:
parent
33f5fc601c
commit
59462b59c8
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [ -f /etc/iiab/openvpn_handle ]; then
|
||||||
else
|
else
|
||||||
# Option #2: dangerous to invoke hypothetical variables :(
|
# Option #2: dangerous to invoke hypothetical variables :(
|
||||||
source /etc/iiab/iiab.env
|
source /etc/iiab/iiab.env
|
||||||
# Option #3: WAS BUGGY IN AUGUST 2018, but safer now that relegated to #3 ?
|
# Option #3: CAUSED FAILURES IN AUGUST 2018, invoking stale variable from /etc/iiab/iiab.ini, but safer now that relegated to #3 ?
|
||||||
if [ -z "$HANDLE" ]; then
|
if [ -z "$HANDLE" ]; then
|
||||||
HANDLE=`cat /etc/iiab/iiab.ini | gawk \
|
HANDLE=`cat /etc/iiab/iiab.ini | gawk \
|
||||||
'{ if((toupper($1) == "HANDLE") && ($2 == "=")) { print $3;}}'`
|
'{ if((toupper($1) == "HANDLE") && ($2 == "=")) { print $3;}}'`
|
||||||
|
|
Loading…
Reference in a new issue