mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
Merge pull request #47 from waylybaye/patch-1
ocserv/init.sh: fixed sed -e typo which breaks -e command
This commit is contained in:
commit
e77d8c555f
@ -87,6 +87,6 @@ certtool --to-p12 \
|
|||||||
|
|
||||||
sed -i -e "s@^ipv4-network =.*@ipv4-network = ${VPN_NETWORK}@" \
|
sed -i -e "s@^ipv4-network =.*@ipv4-network = ${VPN_NETWORK}@" \
|
||||||
-e "s@^ipv4-netmask =.*@ipv4-netmask = ${VPN_NETMASK}@" \
|
-e "s@^ipv4-netmask =.*@ipv4-netmask = ${VPN_NETMASK}@" \
|
||||||
-e "s@^no-route =.*$@no-route = ${LAN_NETWORK}/${LAN_NETMASK}@" /etc/ocserv/ocserv.conf
|
-e "s@^no-route =.*@no-route = ${LAN_NETWORK}/${LAN_NETMASK}@" /etc/ocserv/ocserv.conf
|
||||||
|
|
||||||
echo "${VPN_PASSWORD}" | ocpasswd -c /etc/ocserv/ocpasswd "${VPN_USERNAME}"
|
echo "${VPN_PASSWORD}" | ocpasswd -c /etc/ocserv/ocpasswd "${VPN_USERNAME}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user