From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 11 Sep 2022 09:11:07 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oXH7T-000PY2-QP for lore@lore.pengutronix.de; Sun, 11 Sep 2022 09:11:07 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oXH7S-0008Dp-1a; Sun, 11 Sep 2022 09:11:06 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXH6P-00077o-KR; Sun, 11 Sep 2022 09:10:01 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oXH6O-0003kk-T7; Sun, 11 Sep 2022 09:09:59 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oXH6M-009XQL-T6; Sun, 11 Sep 2022 09:09:58 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sun, 11 Sep 2022 09:09:58 +0200 Message-Id: <20220911070958.2273389-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220830125439.692676-2-jbe@pengutronix.de> References: <20220830125439.692676-2-jbe@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] openvpn: still allow initV support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 7e86153b06a60c28b3ca3d6a05dfa2290de7892a. Michael [sent from post-receive hook] On Sun, 11 Sep 2022 09:09:58 +0200, Juergen Borleis wrote: > Signed-off-by: Juergen Borleis > Message-Id: <20220830125439.692676-2-jbe@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/openvpn.make b/rules/openvpn.make > index 09dbe0cf6ea4..320995032abc 100644 > --- a/rules/openvpn.make > +++ b/rules/openvpn.make > @@ -43,8 +43,11 @@ OPENVPN_CONF_ENV := \ > IFCONFIG=/usr/sbin/ifconfig \ > IPROUTE=/usr/sbin/ip \ > NETSTAT=/usr/bin/netstat \ > - ROUTE=/usr/sbin/route \ > - SYSTEMD_ASK_PASSWORD=/usr/bin/systemd-ask-password > + ROUTE=/usr/sbin/route > + > +ifdef PTXCONF_OPENVPN_SYSTEMD > +OPENVPN_CONF_ENV += SYSTEMD_ASK_PASSWORD=/usr/bin/systemd-ask-password > +endif > > # > # autoconf