1 2 3 4
#!/bin/sh # sudo xl2tpd-control disconnect $1 && sudo ipsec down $1 sudo xl2tpd-control disconnect $1