aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2011-12-08 23:36:05 -0800
committerBen Pfaff <blp@nicira.com>2011-12-09 09:32:06 -0800
commitd422c1189901d34125cd2d46552391c333d1f647 (patch)
treebb5ada4bf638ca497fbe4d6ad6eac529eb3f80a7
parent429ebf217bd72fc28de6816bbbfeaf9ce006ecd9 (diff)
utilites: rename ovs-lib.sh to ovs-lib
Rename this helper script to simply ovs-lib, since it's primarily a library of helper functions. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
-rwxr-xr-xdebian/openvswitch-switch.init2
-rw-r--r--debian/openvswitch-switch.install2
-rwxr-xr-xrhel/etc_init.d_openvswitch2
-rw-r--r--rhel/openvswitch.spec.in2
-rw-r--r--utilities/.gitignore2
-rw-r--r--utilities/automake.mk6
-rwxr-xr-xutilities/ovs-ctl.in2
-rw-r--r--utilities/ovs-lib.in (renamed from utilities/ovs-lib.sh.in)0
-rwxr-xr-xxenserver/etc_init.d_openvswitch2
-rw-r--r--xenserver/openvswitch-xen.spec2
10 files changed, 11 insertions, 11 deletions
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
index 3d187a05..6f08c3fa 100755
--- a/debian/openvswitch-switch.init
+++ b/debian/openvswitch-switch.init
@@ -25,7 +25,7 @@
(test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
-. /usr/share/openvswitch/scripts/ovs-lib.sh
+. /usr/share/openvswitch/scripts/ovs-lib
test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
if test X"$BRCOMPAT" = Xyes && test ! -x /usr/sbin/ovs-brcompatd; then
diff --git a/debian/openvswitch-switch.install b/debian/openvswitch-switch.install
index 308c382a..a7006ac0 100644
--- a/debian/openvswitch-switch.install
+++ b/debian/openvswitch-switch.install
@@ -7,6 +7,6 @@ usr/bin/ovsdb-tool
usr/sbin/ovs-vswitchd
usr/sbin/ovsdb-server
usr/share/openvswitch/scripts/ovs-ctl
-usr/share/openvswitch/scripts/ovs-lib.sh
+usr/share/openvswitch/scripts/ovs-lib
usr/share/openvswitch/scripts/ovs-save
usr/share/openvswitch/vswitch.ovsschema
diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch
index f1a34c7a..9f1506c3 100755
--- a/rhel/etc_init.d_openvswitch
+++ b/rhel/etc_init.d_openvswitch
@@ -27,7 +27,7 @@
# Short-Description: Open vSwitch switch
### END INIT INFO
-. /usr/share/openvswitch/scripts/ovs-lib.sh || exit 1
+. /usr/share/openvswitch/scripts/ovs-lib || exit 1
test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
start () {
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 4d52d3b7..3d6cda3b 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -147,7 +147,7 @@ exit 0
/usr/share/openvswitch/python/
/usr/share/openvswitch/scripts/ovs-bugtool-*
/usr/share/openvswitch/scripts/ovs-ctl
-/usr/share/openvswitch/scripts/ovs-lib.sh
+/usr/share/openvswitch/scripts/ovs-lib
/usr/share/openvswitch/scripts/ovs-save
/usr/share/openvswitch/scripts/sysconfig.template
/usr/share/openvswitch/vswitch.ovsschema
diff --git a/utilities/.gitignore b/utilities/.gitignore
index ecc4d5f1..d9d4419a 100644
--- a/utilities/.gitignore
+++ b/utilities/.gitignore
@@ -12,7 +12,7 @@
/ovs-ctl
/ovs-dpctl
/ovs-dpctl.8
-/ovs-lib.sh
+/ovs-lib
/ovs-ofctl
/ovs-ofctl.8
/ovs-parse-leaks
diff --git a/utilities/automake.mk b/utilities/automake.mk
index 1c8a56b9..89078cb8 100644
--- a/utilities/automake.mk
+++ b/utilities/automake.mk
@@ -14,11 +14,11 @@ bin_SCRIPTS += \
endif
noinst_SCRIPTS += utilities/ovs-pki-cgi
scripts_SCRIPTS += utilities/ovs-ctl utilities/ovs-save
-scripts_DATA += utilities/ovs-lib.sh
+scripts_DATA += utilities/ovs-lib
EXTRA_DIST += \
utilities/ovs-ctl.in \
- utilities/ovs-lib.sh.in \
+ utilities/ovs-lib.in \
utilities/ovs-parse-leaks.in \
utilities/ovs-pcap.in \
utilities/ovs-pki-cgi.in \
@@ -49,7 +49,7 @@ DISTCLEANFILES += \
utilities/ovs-benchmark.1 \
utilities/ovs-controller.8 \
utilities/ovs-dpctl.8 \
- utilities/ovs-lib.sh \
+ utilities/ovs-lib \
utilities/ovs-ofctl.8 \
utilities/ovs-parse-leaks \
utilities/ovs-pcap \
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 8788e4a3..ee6035c0 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -17,7 +17,7 @@ case $0 in
*/*) dir0=`echo "$0" | sed 's,/[^/]*$,,'` ;;
*) dir0=./ ;;
esac
-. "$dir0/ovs-lib.sh" || exit 1
+. "$dir0/ovs-lib" || exit 1
for dir in "$sbindir" "$bindir" /sbin /bin /usr/sbin /usr/bin; do
case :$PATH: in
diff --git a/utilities/ovs-lib.sh.in b/utilities/ovs-lib.in
index f53d4afd..f53d4afd 100644
--- a/utilities/ovs-lib.sh.in
+++ b/utilities/ovs-lib.in
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index 8ba8aeeb..c7d0736a 100755
--- a/xenserver/etc_init.d_openvswitch
+++ b/xenserver/etc_init.d_openvswitch
@@ -27,7 +27,7 @@
# Short-Description: Open vSwitch switch
### END INIT INFO
-. /usr/share/openvswitch/scripts/ovs-lib.sh || exit 1
+. /usr/share/openvswitch/scripts/ovs-lib || exit 1
. /etc/xensource-inventory
test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec
index a53fcc73..4dbc71b1 100644
--- a/xenserver/openvswitch-xen.spec
+++ b/xenserver/openvswitch-xen.spec
@@ -337,7 +337,7 @@ exit 0
/usr/share/openvswitch/scripts/ovs-bugtool-*
/usr/share/openvswitch/scripts/ovs-save
/usr/share/openvswitch/scripts/ovs-ctl
-/usr/share/openvswitch/scripts/ovs-lib.sh
+/usr/share/openvswitch/scripts/ovs-lib
/usr/share/openvswitch/vswitch.ovsschema
/usr/sbin/ovs-vlan-bug-workaround
/usr/sbin/ovs-vswitchd