More controller-stopping madness.
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user