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:
parent
725283decf
commit
1fcece6171
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue