From b2fa9e67ea806f4dc10c9eeed727e11356ca9b67 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Tue, 28 Aug 2012 16:58:51 -0700 Subject: Move display of entitlement info to the top of tech-support output Also, only attempt to display entitlement info if it is present. Fixes bug 8260 --- functions/tech-support | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/functions/tech-support b/functions/tech-support index 570ef2d..088158a 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -70,6 +70,10 @@ export PATH=/sbin:/usr/sbin:$PATH header Show Tech-Support header CONFIGURATION +if cli-shell-api validateTmplPath entitlement; then +header Entitlement +show entitlement +fi header Vyatta Version and Package Changes show version all @@ -362,9 +366,6 @@ last -ix header Recent Log Messages tail -n 250 /var/log/messages -header Entitlement -show entitlement - header NTP show ntp -- cgit v1.2.3