2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 18:07:40 +00:00

rhel: add "force-reload-kmod" support in "ovs-systemd-reload"

Since you can't use "ovs-ctl force-reload-kmod" on Fedora/RHEL, due to
systemd dependencies, this commit adds the "force-reload-kmod" feature on
ovs-systemd-reload.

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
This commit is contained in:
Timothy Redaelli 2017-12-22 16:00:53 +01:00 committed by Ben Pfaff
parent d922ebc876
commit 8b54e31ff3

View File

@ -40,6 +40,10 @@ add_managers() {
: :
} }
if [ "$1" = "force-reload-kmod" ]; then
force_reload_kmod
else
restart restart
fi
exit 0 exit 0