added structopt
Some checks are pending
continuous-integration/drone/push Build encountered an error
Some checks are pending
continuous-integration/drone/push Build encountered an error
This commit is contained in:
3
init.sh
3
init.sh
@@ -47,7 +47,8 @@ setup_iptables "A"
|
||||
sleep 3
|
||||
|
||||
if [ -e "/usr/bin/wg-event-gen" ]; then
|
||||
sleep 3 && /usr/bin/wg-event-gen /var/run/wireguard/$WG_IF.sock 3000
|
||||
export WG_EVENT_SOCKET=/var/run/wireguard/$WG_IF.sock
|
||||
/usr/bin/wg-event-gen
|
||||
else
|
||||
while [ -e "/sys/class/net/$WG_IF/operstate" ]; do
|
||||
sleep 10
|
||||
|
Reference in New Issue
Block a user