-
-
Save voronenko-p/fac4f7af367c90dbfc543258825f488d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if ip link show tap0 | grep "master br0" ; then | |
echo "Unbinding interface from bridge" | |
ip link set tap0 nomaster || true | |
else | |
echo "Tap0 is not part of the bridge" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment