#clean start | |
./control_containers.sh -d | |
sleep 2 | |
./configure_system.sh -r driver | |
output=$(./configure_system.sh -p status | grep down) | |
# Check if the output is empty | |
if [ -z "$output" ]; then | |
echo "No external ports are down." | |
else | |
echo "The following PORTS are down:" | |
echo "$output" | |
./configure_system.sh -p up | |
sleep 3 | |
fi |