From f67063329f6ecd5bb441b5edc652706f679c7965 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 10 Jan 2024 00:56:16 +0300 Subject: [PATCH] fix... Signed-off-by: Alex A. Naanou --- wireguard/assets/root/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wireguard/assets/root/Makefile b/wireguard/assets/root/Makefile index f84e182..88a60ea 100644 --- a/wireguard/assets/root/Makefile +++ b/wireguard/assets/root/Makefile @@ -42,14 +42,9 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY) $(CLIENT_DIR)/%_id $(CLIENT_DIR)/%_id.pub \ $(SERVER_CONF) $(SERVER_PUBLIC_KEY) @ mkdir -p $(CLIENT_DIR) - echo - echo "--- $$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id")" - echo "--- $$(sed -e 's/\//\\\//g' "$(CLIENT_DIR)/$*_id.pub")" - echo "--- $$(sed -e 's/\//\\\//g' "$(SERVER_PUBLIC_KEY)")" - echo cat "$<" \ | sed \ - -e 's/\$${DNS}/$(DNS)/g' \ + -e 's/\$${DNS}/$(subst /*,,$(DNS))/g' \ -e 's/\$${ENDPOINT}/$(ENDPOINT)/g' \ -e 's/\$${ENDPOINT_PORT}/$(ENDPOINT_PORT)/g' \ -e 's/\$${ALLOWED_IPS}/$(subst /,\/,$(ALLOWED_IPS))/g' \