[OpenWrt-Devel] [RFC PATCH 07/10] openvpn: /var/run is created in /etc/init.d/boot

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


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

diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 221704e..5ca02ac 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -81,8 +81,6 @@ start_instance() {
 		return 1
 	}
 
-	[ ! -d "/var/run" ] && mkdir -p "/var/run"
-
 	if [ ! -z "$config" ]; then
 		append UCI_STARTED "$config" "$LIST_SEP"
 		openvpn_add_instance "$s" "${config%/*}" "$config"
-- 
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