More controller-stopping madness.
This commit is contained in:
+5
-1
@@ -219,8 +219,12 @@ function ovs {
|
|||||||
$pkginst $pkgs
|
$pkginst $pkgs
|
||||||
# Switch can run on its own, but
|
# Switch can run on its own, but
|
||||||
# Mininet should control the controller
|
# Mininet should control the controller
|
||||||
sudo service openvswitch-controller stop
|
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
|
sudo update-rc.d openvswitch-controller disable
|
||||||
|
fi
|
||||||
echo "Done (hopefully) installing packages"
|
echo "Done (hopefully) installing packages"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user