More controller-stopping madness.

This commit is contained in:
Bob Lantz
2012-02-13 11:31:53 -08:00
parent 9d275262e2
commit a24705d784
+6 -2
View File
@@ -219,8 +219,12 @@ function ovs {
$pkginst $pkgs
# Switch can run on its own, but
# Mininet should control the controller
sudo service openvswitch-controller stop
sudo update-rc.d openvswitch-controller disable
if [ -e /etc/init.d/openvswitch-controller ]; then
if sudo service openvswitch-controller stop; then
echo "Stopped running controller"
fi
sudo update-rc.d openvswitch-controller disable
fi
echo "Done (hopefully) installing packages"
return
fi