openvpnmsica: remove OpenVPNService state check code
This code reads the state of OpenVPNService,
such as startup mode and running, and sets MSI
property value. If that property is set, installer
selects OpenVPNService as a feature to be installed.
This has been superseded by change in installer:
https://github.com/OpenVPN/openvpn-build/pull/261
which, in addition to checking the state of OpenVPNService,
applies that state to the newly installed service.
- by default, OpenVPNService feature is now checked
and service is installed
- in clean installation, service startup mode is set to "manual"
and service is not started
- in upgrade, installer preserves the service state, such
as startup mode and started/stopped
With all those changes to installer, we don't need this code
in openvpnmsica.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <
20220728111712.94-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24752.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>