mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-remote-off: UX explaining OpenVPN's truly off
This commit is contained in:
parent
83dc48ba7d
commit
3227cffe5f
1 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,9 @@ systemctl stop openvpn
|
|||
sleep 5
|
||||
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.
|
||||
echo "OpenVPN failed to stop."
|
||||
else
|
||||
echo Successfully stopped and disabled OpenVPN.
|
||||
echo "OpenVPN's systemd service was successfully stopped and disabled."
|
||||
echo
|
||||
echo "Also, 'openvpn_enabled: False' was set in /etc/iiab/local_vars.yml"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue