Update shm_actions_script.sh

This commit is contained in:
Bkeenke 2024-10-19 13:24:02 +03:00 committed by GitHub
parent 0abeaa0a40
commit 85d26cd511
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,10 @@ echo "EVENT=$EVENT"
case $EVENT in
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_INTERFACE="{{ server.settings.interface }}"
if [[ -z "$SERVER_INTERFACE" ]]; then