diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-12-21 23:08:44 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-12-21 23:08:44 +0100 |
commit | ece88fcafb45dd683a0cad3801c79537cd411d44 (patch) | |
tree | 5e6241b5bb1e007fd3159367961dcd3cc4681692 /templates | |
parent | 71989c2918185c52e4346126dc2b6d7249819458 (diff) | |
download | vyatta-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.def | 2 | ||||
-rw-r--r-- | templates/show/version/funny/node.def | 2 | ||||
-rw-r--r-- | templates/show/version/node.def | 2 |
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 |