Signed-off-by: Pim van den Berg <p...@nethuis.nl> --- utilities/ovs-ctl.in | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index f765553..a6961fa 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -31,6 +31,13 @@ done ## ----- ## insert_mod_if_required () { + # If this kernel has no module support, expect we're done. + if ! test -e /proc/modules + then + log_success_msg "Kernel has no loadable module support. Skipping modprobe" + return 0 + fi + # If openvswitch is already loaded then we're done. test -e /sys/module/openvswitch -o -e /sys/module/openvswitch_mod && \ return 0 -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev