summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-12-21 23:08:44 +0100
committerDaniil Baturin <daniil@baturin.org>2016-12-21 23:08:44 +0100
commitece88fcafb45dd683a0cad3801c79537cd411d44 (patch)
tree5e6241b5bb1e007fd3159367961dcd3cc4681692 /templates
parent71989c2918185c52e4346126dc2b6d7249819458 (diff)
downloadvyatta-op-ece88fcafb45dd683a0cad3801c79537cd411d44.tar.gz
vyatta-op-ece88fcafb45dd683a0cad3801c79537cd411d44.zip
T156: return "Unknown" for /sys/class/dmi/* files that don't exist.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/version/all/node.def2
-rw-r--r--templates/show/version/funny/node.def2
-rw-r--r--templates/show/version/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/show/version/all/node.def b/templates/show/version/all/node.def
index 8344124..e98a16d 100644
--- a/templates/show/version/all/node.def
+++ b/templates/show/version/all/node.def
@@ -1,5 +1,5 @@
help: Show VyOS version information plus all packages changes
-run: ${vyatta_bindir}/vyos-show-version
+run: sudo ${vyatta_bindir}/vyos-show-version
echo ""
echo "Package versions:"
dpkg -l
diff --git a/templates/show/version/funny/node.def b/templates/show/version/funny/node.def
index e6544f9..cb1b6b0 100644
--- a/templates/show/version/funny/node.def
+++ b/templates/show/version/funny/node.def
@@ -1,5 +1,5 @@
help: Show VyOS version information plus a funny poem
run:
- ${vyatta_bindir}/vyos-show-version
+ sudo ${vyatta_bindir}/vyos-show-version
${vyatta_bindir}/limericks.py
diff --git a/templates/show/version/node.def b/templates/show/version/node.def
index e2bfc1f..a3fd8af 100644
--- a/templates/show/version/node.def
+++ b/templates/show/version/node.def
@@ -1,2 +1,2 @@
help: Show VyOS version information
-run: ${vyatta_bindir}/vyos-show-version
+run: sudo ${vyatta_bindir}/vyos-show-version