summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-29 16:29:14 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-29 16:29:14 -0800
commitb204513bbfbac10a826e485f677c7ed77e342d52 (patch)
tree38365209cd12a8f67f506011e81baa1397990645
parent7c4f84496228c1ef73b4926d426588de8318125b (diff)
downloadvyatta-op-b204513bbfbac10a826e485f677c7ed77e342d52.tar.gz
vyatta-op-b204513bbfbac10a826e485f677c7ed77e342d52.zip
Change name of cpu summary script and rearrange
Final answer.
-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