diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-17 10:41:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 10:41:17 +0100 |
commit | 3ef1de3846e7ce2648935d65013dbb280d492531 (patch) | |
tree | ad8d6b8c8aacd08317ef713d83da151aa1a99d93 /op-mode-definitions/show-acceleration.xml.in | |
parent | c8d0b28fba898a383896497904b28e2ce70aa1cd (diff) | |
parent | a3444c686427e94e90b531da0a9effc025925f6f (diff) | |
download | vyos-1x-3ef1de3846e7ce2648935d65013dbb280d492531.tar.gz vyos-1x-3ef1de3846e7ce2648935d65013dbb280d492531.zip |
Merge pull request #1713 from c-po/current
op-mode: T4767: drop sudo calls when working with QAT/acceleration subsystem
Diffstat (limited to 'op-mode-definitions/show-acceleration.xml.in')
-rw-r--r-- | op-mode-definitions/show-acceleration.xml.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/op-mode-definitions/show-acceleration.xml.in b/op-mode-definitions/show-acceleration.xml.in index d0dcea2d6..6fd3babf5 100644 --- a/op-mode-definitions/show-acceleration.xml.in +++ b/op-mode-definitions/show-acceleration.xml.in @@ -29,13 +29,13 @@ <properties> <help>Intel QAT flows</help> </properties> - <command>${vyos_op_scripts_dir}/show_acceleration.py --flow --dev $6</command> + <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --flow --dev $6</command> </node> <node name="config"> <properties> <help>Intel QAT configuration</help> </properties> - <command>${vyos_op_scripts_dir}/show_acceleration.py --conf --dev $6</command> + <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --conf --dev $6</command> </node> </children> </tagNode> @@ -43,16 +43,16 @@ <properties> <help>Intel QAT status</help> </properties> - <command>${vyos_op_scripts_dir}/show_acceleration.py --status</command> + <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --status</command> </node> <node name="interrupts"> <properties> <help>Intel QAT interrupts</help> </properties> - <command>${vyos_op_scripts_dir}/show_acceleration.py --interrupts</command> + <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --interrupts</command> </node> </children> - <command>${vyos_op_scripts_dir}/show_acceleration.py --hw</command> + <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --hw</command> </node> </children> </node> |