Blame public/fs/etc/openvpn/hostvpn-conf.sh
|
root@culturestrings |
76b152 |
#!/bin/sh
|
|
root@culturestrings |
76b152 |
|
|
root@culturestrings |
76b152 |
set -eu
|
|
root@culturestrings |
76b152 |
|
|
root@culturestrings |
b0963f |
source /root/config/private/config/server.ports
|
|
root@culturestrings |
89dca3 |
source /root/config/private/config/hostname
|
|
root@culturestrings |
76b152 |
|
|
root@culturestrings |
89dca3 |
sed -e 's/@vpn_port@/'${vpn_port}'/g' \
|
|
root@culturestrings |
89dca3 |
-e 's/@hostname@/'${hostname}'/g' \
|
|
root@culturestrings |
89dca3 |
"$1"
|