AmourSpirit

remove pvpn-ipv6leak-protection

Jul 6th, 2021 (edited)
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. # https://pastebin.com/z732VHtZ
  3. DEVICE_NAME="pvpn-ipv6leak-protection"
  4. LEAK=$(nmcli device | grep "$DEVICE_NAME")
  5. if [[ -n "$LEAK" ]]; then
  6.     # echo $LEAK
  7.     nmcli connection delete "$DEVICE_NAME" >> /dev/null
  8.     # nmcli device
  9. fi
  10.  
Add Comment
Please, Sign In to add comment