diff options
author | kali <kali@leap.se> | 2012-08-30 06:06:36 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-30 06:06:36 +0900 |
commit | 3c59f021dde265bc314cd6b52d3aafbb8532b1ec (patch) | |
tree | dba7f051a2de2207909dfb163fea75e07596fe5b /src/leap/eip/openvpnconnection.py | |
parent | 5e77b77765154850fb708e6ea188fcf7ba99fdce (diff) | |
parent | d4de193b52881590c07468bdfece5f82fa48840d (diff) |
Merge branch 'feature/ovpn-no-config' into develop
closes #447
deprecates the use of config files; all options are passed
to openvpn as command line arguments.
Diffstat (limited to 'src/leap/eip/openvpnconnection.py')
-rw-r--r-- | src/leap/eip/openvpnconnection.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/leap/eip/openvpnconnection.py b/src/leap/eip/openvpnconnection.py index 5f67d27a..1f2f6d8c 100644 --- a/src/leap/eip/openvpnconnection.py +++ b/src/leap/eip/openvpnconnection.py @@ -139,23 +139,6 @@ to be triggered for each one of them. self.command = command self.args = args - def _check_ovpn_config(self): - """ - checks if there is a default openvpn config. - if not, it writes one with info from the provider - definition file - """ - # TODO - # - get --with-openvpn-config from opts - try: - eip_config.check_or_create_default_vpnconf(self.config) - except eip_exceptions.EIPInitNoProviderError: - logger.error('missing default provider definition') - self.missing_provider = True - except eip_exceptions.EIPInitBadProviderError: - logger.error('bad provider definition') - self.bad_provider = True - def _get_or_create_config(self): """ retrieves the config options from defaults or @@ -168,7 +151,6 @@ to be triggered for each one of them. self._set_autostart() self._set_ovpn_command() - self._check_ovpn_config() def _check_vpn_keys(self): """ |