#!/bin/sh
-sudo ./stopvz.sh
+sudo $(dirname $0)/stopvz.sh
for b in $(brctl show | tail -n +2 | awk '{print $1}'); do
sudo ip link set down dev $b
sudo brctl delbr $b
done
-echo "\n==========================\n"
-echo "Listing active VEs (sudo vzlist)\n"
+echo
+echo "=========================="
+echo "Listing active VEs (sudo vzlist)"
sudo vzlist
-echo "\nListing active bridges (sudo brctl show)\n"
+echo
+echo "Listing active bridges (sudo brctl show)"
sudo brctl show