diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-30 19:29:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-30 19:29:08 +0200 |
commit | 196a4350e76e9e9cd8f214e5cc130017caf99ed6 (patch) | |
tree | 875d0aec625f02c1d6c3e84e37280efd4e6d820f /src/conf_mode | |
parent | c583b90dd5d21ed890ad3f8e71d0b5cf8d64b948 (diff) | |
download | vyos-1x-196a4350e76e9e9cd8f214e5cc130017caf99ed6.tar.gz vyos-1x-196a4350e76e9e9cd8f214e5cc130017caf99ed6.zip |
qat: use script file shipped from Intel
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/intel_qat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/intel_qat.py b/src/conf_mode/intel_qat.py index 1ceab0a87..0b2d318fd 100755 --- a/src/conf_mode/intel_qat.py +++ b/src/conf_mode/intel_qat.py @@ -59,7 +59,7 @@ def vpn_control(action): def verify(c): # Check if QAT service installed - if not os.path.exists('/etc/init.d/vyos-qat-utilities'): + if not os.path.exists('/etc/init.d/qat_service'): raise ConfigError("Warning: QAT init file not found") if c['qat_conf'] == None: @@ -81,13 +81,13 @@ def apply(c): # Disable QAT service if c['qat_conf'] == None: - run('sudo /etc/init.d/vyos-qat-utilities stop') + run('sudo /etc/init.d/qat_service stop') if c['ipsec_conf']: vpn_control('start') return # Run qat init.d script - run('sudo /etc/init.d/vyos-qat-utilities start') + run('sudo /etc/init.d/qat_service start') if c['ipsec_conf']: # Recovery VPN service vpn_control('start') |