Previously ovs-lib would source several non-standardized lsb function
scripts for pretty print functions. However, these scripts could have
side effects that may interfere with users of this library in
unpredictable ways.

Sourcing the lsb function scripts is now removed, callers can still
source them before sourcing this library to retain the old behavior.

Signed-off-by: Mike Pattrick <[email protected]>
---
 utilities/ovs-lib.in | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in
index d162227dc..582fdd0df 100644
--- a/utilities/ovs-lib.in
+++ b/utilities/ovs-lib.in
@@ -76,19 +76,6 @@ DAEMON_CWD=/
 
 LC_ALL=C; export LC_ALL
 
-## ------------- ##
-## LSB functions ##
-## ------------- ##
-
-# Use the system's own implementations if it has any.
-if test -e /etc/init.d/functions; then
-    . /etc/init.d/functions
-elif test -e /etc/rc.d/init.d/functions; then
-    . /etc/rc.d/init.d/functions
-elif test -e /lib/lsb/init-functions; then
-    . /lib/lsb/init-functions
-fi
-
 # Implement missing functions (e.g. OpenSUSE lacks 'action').
 if type log_success_msg >/dev/null 2>&1; then :; else
     log_success_msg () {
-- 
2.43.5

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to