[OpenWrt-Devel] [RFC PATCH 06/10] openvpn: /tmp/etc is created in /etc/init.d/boot

Stijn Tintel stijn at linux-ipv6.be
Mon Mar 28 13:51:45 EDT 2016


Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/network/services/openvpn/files/openvpn.init | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 7ee756d..221704e 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -89,7 +89,6 @@ start_instance() {
 		return
 	fi
 
-	[ ! -d "/tmp/etc" ] && mkdir -p "/tmp/etc"
 	[ -f "/tmp/etc/openvpn-$s.conf" ] && rm "/tmp/etc/openvpn-$s.conf"
 
 	# append flags
-- 
2.7.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list