Update shm_actions_script.sh
This commit is contained in:
parent
0abeaa0a40
commit
85d26cd511
@ -12,6 +12,10 @@ echo "EVENT=$EVENT"
|
|||||||
|
|
||||||
case $EVENT in
|
case $EVENT in
|
||||||
INIT)
|
INIT)
|
||||||
|
echo
|
||||||
|
echo "Init"
|
||||||
|
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/bkeenke/awg-manager/master/init.sh)" @ install
|
||||||
|
echo
|
||||||
SERVER_HOST="{{ server.settings.host_name }}"
|
SERVER_HOST="{{ server.settings.host_name }}"
|
||||||
SERVER_INTERFACE="{{ server.settings.interface }}"
|
SERVER_INTERFACE="{{ server.settings.interface }}"
|
||||||
if [[ -z "$SERVER_INTERFACE" ]]; then
|
if [[ -z "$SERVER_INTERFACE" ]]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user