Skip to content
Snippets Groups Projects
Commit a24705d7 authored by Bob Lantz's avatar Bob Lantz
Browse files

More controller-stopping madness.

parent 9d275262
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment