From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [DEV PATCH 1/3] ovpnmain.cgi: Allow the openvpn-rw status to be shown in openvpn WUI Date: Sat, 14 Dec 2024 18:47:16 +0100 Message-ID: <20241214174718.22140-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5895315835777177032==" List-Id: --===============5895315835777177032== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - The main openvpn process name has been changed to openvpn-rw. This change i= s needed so that if openvpn-rw is running the status shows that on the OpenVPN WUI = page Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- html/cgi-bin/ovpnmain.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 =3D> 100644 html/cgi-bin/ovpnmain.cgi diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi old mode 100755 new mode 100644 index bd102f4bc..843edc519 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -2,7 +2,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2023 IPFire Team = # +# Copyright (C) 2007-2024 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -5063,8 +5063,8 @@ END # Show the service status &Header::ServiceStatus({ $Lang::tr{'ovpn roadwarrior server'} =3D> { - "process" =3D> "openvpn", - "pidfile" =3D> "/var/run/openvpn.pid", + "process" =3D> "openvpn-rw", + "pidfile" =3D> "/var/run/openvpn-rw.pid" } }); =20 --=20 2.47.1 --===============5895315835777177032==--