7 if [ ! -f /etc/openvswitch/ovs-vswitchd.conf.db ]; then
8 ovsdb-tool create /etc/openvswitch/ovs-vswitchd.conf.db /usr/share/openvswitch/vswitch.ovsschema
11 echo "==> Building kernel modules with dkms"
12 dkms add -m openvswitch -v ${1%-*}
13 dkms build -m openvswitch -v ${1%-*}
14 dkms install -m openvswitch -v ${1%-*}
16 echo " -> WARNING: If you will use the bridged compatibility don't forget to blacklist the 'bridge' module!"
17 echo " -> To build the modules for other kernels, use 'dkms install -m openvswitch -v ${1%-*}'"
18 echo " For more information refer to:"
19 echo " http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=INSTALL.bridge;hb=HEAD"
24 dkms remove -m openvswitch -v ${1%-*} --all
31 # vim:set ts=2 sw=2 et: