mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-22 04:40:16 +00:00
14 lines
234 B
Bash
14 lines
234 B
Bash
#!/bin/bash
|
|
|
|
if command -v systemctl > /dev/null; then
|
|
systemctl status openvpn
|
|
elif command -v rc-service > /dev/null; then
|
|
rc-service openvpn status
|
|
fi
|
|
|
|
pivpn add -n foo
|
|
pivpn -qr foo
|
|
pivpn -bk
|
|
pivpn -l
|
|
pivpn -c
|
|
pivpn -r foo -y
|