summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rwxr-xr-xscripts/vyatta-cpu-summary.pl (renamed from functions/cpu-info)0
-rw-r--r--templates/show/hardware/cpu/summary/node.def2
3 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d8895d4..3fcf55b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,7 @@ bin_SCRIPTS += scripts/vyatta-show-dhclient.pl
bin_SCRIPTS += scripts/vyatta-show-dmi
bin_SCRIPTS += scripts/vyatta-tshark-interface-port.pl
bin_SCRIPTS += scripts/vyatta-show-bonding.pl
+bin_SCRIPTS += scripts/vyatta-cpu-summary.pl
bin_sudo_users_SCRIPTS = scripts/vyatta-identify-interface.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-delete-log-file.sh
diff --git a/functions/cpu-info b/scripts/vyatta-cpu-summary.pl
index 1839a5d..1839a5d 100755
--- a/functions/cpu-info
+++ b/scripts/vyatta-cpu-summary.pl
diff --git a/templates/show/hardware/cpu/summary/node.def b/templates/show/hardware/cpu/summary/node.def
new file mode 100644
index 0000000..9918d22
--- /dev/null
+++ b/templates/show/hardware/cpu/summary/node.def
@@ -0,0 +1,2 @@
+help: Show CPU's on system
+run: ${vyatta_datadir}/vyatta-op/bin/vyatta-cpu-summary.pl