This commit is contained in:
Mateusz779 2023-04-25 11:42:08 +02:00
parent 1d2a70063a
commit 54fd578655

View File

@ -94,7 +94,7 @@ fi
ls /tmp/output/vpn/scripts
ls /tmp/output/vpn/
sed -i 's/ip/'$ip'/g' /tmp/output/vpn/scripts/starttap.sh
sed -i 's/ip/'"$ip"'/g' /tmp/output/vpn/scripts/starttap.sh
sed -i '/^private_key/c\private_key uVPN.priv' /tmp/output/vpn/$(basename "$conf")
sed -i '/^tap_name/c\tap_name uvpnT2' /tmp/output/vpn/$(basename "$conf")
sed -i '/^name/c\name '"$name" /tmp/output/vpn/$(basename "$conf")