From patchwork Mon Mar 28 17:51:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Tintel X-Patchwork-Id: 602556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qYhhb0G2Wz9s8d for ; Tue, 29 Mar 2016 05:07:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=linux-ipv6.be header.i=@linux-ipv6.be header.b=XjJnJsmO; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4EDB5B91249; Mon, 28 Mar 2016 19:52:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Mon, 28 Mar 2016 19:52:27 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0916AB911DB for ; Mon, 28 Mar 2016 19:52:07 +0200 (CEST) X-policyd-weight: using cached result; rate: -6.1 Received: from mail.tintel.eu (mail.tintel.eu [62.213.201.86]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 28 Mar 2016 19:52:00 +0200 (CEST) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 4E32F2A41FC for ; Mon, 28 Mar 2016 19:51:58 +0200 (CEST) Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id 7Xo989VBsAbS for ; Mon, 28 Mar 2016 19:51:58 +0200 (CEST) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id DC7372A41F5 for ; Mon, 28 Mar 2016 19:51:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.9.2 mail.tintel.eu DC7372A41F5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-ipv6.be; s=502B7754-045F-11E5-BBC5-64595FD46BE8; t=1459187517; bh=Di5thLvO7vhvxs6V1xBg/+VXMWgQ/0qGSKf16gLDDdE=; h=From:To:Subject:Date:Message-Id; b=XjJnJsmOnZKkGFzob5Mf9mUfJ6S/VqaST5dn1PEy8c1S5yCFf+IImC3mUmd7D5ltS k2ez+Ty19hX1ygsy17hBz0h2wEJEVkUBcXuhJKvJI+/wJzSb/b1YVymBiHkr16X4Dz qV6oVwkuJ6adJCTddrC6VDXeMFAXqBtb4y+NkVh8= X-Virus-Scanned: amavisd-new at mail.tintel.eu Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id I4Fz5uY3jD7F for ; Mon, 28 Mar 2016 19:51:57 +0200 (CEST) Received: from store.st-esk.be.tintel.eu (unknown [IPv6:2a02:1811:406:dc00:1e6f:65ff:fef8:7a3b]) by mail.tintel.eu (Postfix) with SMTP id B43652A41FC for ; Mon, 28 Mar 2016 19:51:56 +0200 (CEST) Received: by store.st-esk.be.tintel.eu (sSMTP sendmail emulation); Mon, 28 Mar 2016 19:51:57 +0200 From: Stijn Tintel To: openwrt-devel@lists.openwrt.org Date: Mon, 28 Mar 2016 19:51:45 +0200 Message-Id: <1459187509-12124-7-git-send-email-stijn@linux-ipv6.be> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1459187509-12124-1-git-send-email-stijn@linux-ipv6.be> References: <1459187509-12124-1-git-send-email-stijn@linux-ipv6.be> Subject: [OpenWrt-Devel] [RFC PATCH 06/10] openvpn: /tmp/etc is created in /etc/init.d/boot X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Stijn Tintel --- 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