summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-16 20:18:54 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-16 20:18:54 +0200
commit6cfcf7a761adb3e51f9279611435a39a1424e9c9 (patch)
tree5335b7f40247a6db94f633cf506143889a13c9b2 /op-mode-definitions
parentab173ee6515d21f75a55bd73490a1c262d05b581 (diff)
downloadvyos-1x-6cfcf7a761adb3e51f9279611435a39a1424e9c9.tar.gz
vyos-1x-6cfcf7a761adb3e51f9279611435a39a1424e9c9.zip
op-mode: T3630: add "show version kernel" command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-version.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-version.xml.in b/op-mode-definitions/show-version.xml.in
index 6bc49b8cf..8b7cc7e58 100644
--- a/op-mode-definitions/show-version.xml.in
+++ b/op-mode-definitions/show-version.xml.in
@@ -26,6 +26,12 @@
</properties>
<command>vtysh -c "show version"</command>
</leafNode>
+ <leafNode name="kernel">
+ <properties>
+ <help>Show Linux Kernel version information</help>
+ </properties>
+ <command>uname -r</command>
+ </leafNode>
</children>
</node>
</children>