diff options
Diffstat (limited to 'scripts/vyatta-show-version')
-rwxr-xr-x | scripts/vyatta-show-version | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version index c98135d..5ae1e70 100755 --- a/scripts/vyatta-show-version +++ b/scripts/vyatta-show-version @@ -163,7 +163,11 @@ if (defined($booted) && $booted ne "") { } else { $booted="disk"; } -print "Booted From: $booted\n"; +print "Boot via: $booted\n"; +my $uptime = `uptime`; +if (defined $uptime && $uptime ne "") { + print "Uptime : $uptime\n"; +} if (!(-e $debsfile)) { exit 0; } |