add sleep 2 to wg_notify
This commit is contained in:
parent
c6ad55ab8a
commit
16652ac21e
2
wire_g
2
wire_g
@ -37,7 +37,7 @@ ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/
|
||||
############################################################################################################
|
||||
|
||||
wg_notify(){
|
||||
|
||||
sleep 2
|
||||
nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//' &> ${WG_WDIR}onstart.txt
|
||||
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
||||
case $LANG in
|
||||
|
Loading…
Reference in New Issue
Block a user