summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@ancheng-vm.localdomain>2007-09-26 11:08:17 -0700
committerAn-Cheng Huang <ancheng@ancheng-vm.localdomain>2007-09-26 11:08:17 -0700
commitb0b6c1e13d7ccf9e790b5cc78c021f30d860c90b (patch)
treeeb27ab5c0606c54bf7518cc299f5108d691c8cff
parent7919d302045b5646e17e05b4bc42d86836f49e70 (diff)
downloadvyatta-op-b0b6c1e13d7ccf9e790b5cc78c021f30d860c90b.tar.gz
vyatta-op-b0b6c1e13d7ccf9e790b5cc78c021f30d860c90b.zip
import "show_version" from eureka /cli.
-rw-r--r--Makefile.am1
-rwxr-xr-xscripts/show_version30
2 files changed, 31 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 87c323d..2bf1de3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,7 @@ bin_SCRIPTS += scripts/show_interfaces_statistics
bin_SCRIPTS += scripts/show_interfaces_summary
bin_SCRIPTS += scripts/show_interfaces_system
bin_SCRIPTS += scripts/show_interfaces_tunnel
+bin_SCRIPTS += scripts/show_version
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
diff --git a/scripts/show_version b/scripts/show_version
new file mode 100755
index 0000000..dde4f15
--- /dev/null
+++ b/scripts/show_version
@@ -0,0 +1,30 @@
+#!/bin/bash
+# **** License ****
+# Version: VPL 1.0
+#
+# The contents of this file are subject to the Vyatta Public License
+# Version 1.0 ("License"); you may not use this file except in
+# compliance with the License. You may obtain a copy of the License at
+# http://www.vyatta.com/vpl
+#
+# Software distributed under the License is distributed on an "AS IS"
+# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+# the License for the specific language governing rights and limitations
+# under the License.
+#
+# This code was originally developed by Vyatta, Inc.
+# Portions created by Vyatta are Copyright (C) 2007 Vyatta, Inc.
+# All Rights Reserved.
+#
+# Author: Tom Grennan
+# Date: 2007
+#
+# **** End License ****
+
+cat <<EOF
+FIXME! add vyatta show version
+EOF
+
+### Local Variables:
+### mode: shell-script
+### End: