fix: disconnect VPN when sleep/shutdown

This commit is contained in:
Kevin Yue
2025-01-12 14:41:03 +08:00
parent ec85e857bc
commit 9740231910
18 changed files with 285 additions and 172 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/gpclient disconnect

View File

@@ -0,0 +1,5 @@
#!/bin/sh
if [ "${1}" == "pre" ]; then
/usr/bin/gpclient disconnect
fi