Fix bug in template
This commit is contained in:
parent
dbd8ed5949
commit
f0d4961a06
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
if [ $(echo "$0" | grep -c up) -eq 1 ]; then
|
||||
while [ $(ip link show {{ openvpn_bridge }} | grep -c {{ openvpn_bridge }}) -eq 0 ]; do
|
||||
while [ $(/usr/sbin/ip link show {{ openvpn_bridge }} | grep -c {{ openvpn_bridge }}) -eq 0 ]; do
|
||||
sleep 5
|
||||
done
|
||||
/usr/sbin/ip link set up $1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue