Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
## start ##
## ----- ##
-insert_openvswitch_mod_if_required () {
+insert_mod_if_required () {
# If openvswitch is already loaded then we're done.
test -e /sys/module/openvswitch -o -e /sys/module/openvswitch_mod && \
return 0
action "Inserting openvswitch module" modprobe openvswitch
}
-insert_mod_if_required () {
- insert_openvswitch_mod_if_required || return 1
-}
-
ovs_vsctl () {
ovs-vsctl --no-wait "$@"
}