mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +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:
parent
d922ebc876
commit
8b54e31ff3
@ -40,6 +40,10 @@ add_managers() {
|
||||
:
|
||||
}
|
||||
|
||||
restart
|
||||
if [ "$1" = "force-reload-kmod" ]; then
|
||||
force_reload_kmod
|
||||
else
|
||||
restart
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user