mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
fix: disconnect VPN when sleep/shutdown
This commit is contained in:
5
packaging/files/usr/lib/systemd/system-sleep/gpclient
Executable file
5
packaging/files/usr/lib/systemd/system-sleep/gpclient
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "${1}" == "pre" ]; then
|
||||
/usr/bin/gpclient disconnect
|
||||
fi
|
Reference in New Issue
Block a user