Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # https://pastebin.com/z732VHtZ
- DEVICE_NAME="pvpn-ipv6leak-protection"
- LEAK=$(nmcli device | grep "$DEVICE_NAME")
- if [[ -n "$LEAK" ]]; then
- # echo $LEAK
- nmcli connection delete "$DEVICE_NAME" >> /dev/null
- # nmcli device
- fi
Add Comment
Please, Sign In to add comment