summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-07 22:50:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-07 22:50:31 +0200
commitf506ba43d44a4218e44b350721de1c890e62998a (patch)
tree996c137bb840c6872b4dfd8189a2d9386cd79cbd
parentdec99e036a466fbdba2faa17002707b920933db3 (diff)
downloadvyos-1x-f506ba43d44a4218e44b350721de1c890e62998a.tar.gz
vyos-1x-f506ba43d44a4218e44b350721de1c890e62998a.zip
op-mode: T2558: version: no need to call this with sudo
-rw-r--r--op-mode-definitions/show-version.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/show-version.xml b/op-mode-definitions/show-version.xml
index 57931fdff..8bf23de82 100644
--- a/op-mode-definitions/show-version.xml
+++ b/op-mode-definitions/show-version.xml
@@ -6,19 +6,19 @@
<properties>
<help>Show system version information</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/version.py</command>
+ <command>${vyos_op_scripts_dir}/show_version.py</command>
<children>
<leafNode name="funny">
<properties>
<help>Show system version and some fun stuff</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/version.py --funny</command>
+ <command>${vyos_op_scripts_dir}/show_version.py --funny</command>
</leafNode>
<leafNode name="all">
<properties>
<help>Show system version and versions of all packages</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/version.py --all</command>
+ <command>${vyos_op_scripts_dir}/show_version.py --all</command>
</leafNode>
</children>
</node>