1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update iiab-remote-off

This commit is contained in:
A Holt 2018-09-05 16:39:34 -04:00 committed by GitHub
parent 725283decf
commit 1fcece6171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ systemctl disable openvpn
systemctl stop openvpn
sleep 5
ps -e | grep vpn
ps -e | grep openvpn # 2018-09-05: "ps -e | grep vpn" no longer works (nor would "pgrep vpn") when invoked from iiab-vpn-off (as filename itself causes [multiple] "vpn" instances to appear in process list!)
if [ $? -eq 0 ]; then
echo OpenVPN failed to stop.
else