-
This commit is contained in:
parent
f8c70acc74
commit
1d2a70063a
@ -87,9 +87,13 @@ if [ -n "$msmtp_conf" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$scripts" ]; then
|
||||
cp -r $scripts /tmp/output/vpn
|
||||
mkdir /tmp/output/vpn/scripts
|
||||
cp -r $scripts/* /tmp/output/vpn/scripts
|
||||
fi
|
||||
|
||||
ls /tmp/output/vpn/scripts
|
||||
ls /tmp/output/vpn/
|
||||
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user