From 336953398a02bcd2a1200be6db9f43b6b88ea199 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 30 Jun 2016 02:48:35 +0800 Subject: [PATCH] fix ocserv no-route --- ocserv/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocserv/init.sh b/ocserv/init.sh index 183b3c5..d6bdb51 100755 --- a/ocserv/init.sh +++ b/ocserv/init.sh @@ -87,6 +87,6 @@ certtool --to-p12 \ sed -i -e "s@^ipv4-network =.*@ipv4-network = ${VPN_NETWORK}@" \ -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}"