summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/version/node.def8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/show/version/node.def b/templates/show/version/node.def
index 1a1adb0..9e119d4 100644
--- a/templates/show/version/node.def
+++ b/templates/show/version/node.def
@@ -1,8 +1,2 @@
help: "Show Vyatta version information"
-run: for cl in /usr/share/doc/vyatta-*/changelog.gz ; do
- dir=${cl%/*} ;
- pkg=${dir##*/} ;
- printf " %-20s " ${pkg} ;
- test ${#pkg} -lt 20 || echo -ne \\n\\t ;
- gunzip -c $cl | tail -n1 ;
- done
+run: ${vyatta_bindir}/show_version