mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Add vpnc_script location, fix #336
This commit is contained in:
parent
59dee3d767
commit
a00f6a8cba
@ -1,12 +1,13 @@
|
||||
use is_executable::IsExecutable;
|
||||
use std::path::Path;
|
||||
|
||||
const VPNC_SCRIPT_LOCATIONS: [&str; 5] = [
|
||||
const VPNC_SCRIPT_LOCATIONS: [&str; 6] = [
|
||||
"/usr/local/share/vpnc-scripts/vpnc-script",
|
||||
"/usr/local/sbin/vpnc-script",
|
||||
"/usr/share/vpnc-scripts/vpnc-script",
|
||||
"/usr/sbin/vpnc-script",
|
||||
"/etc/vpnc/vpnc-script",
|
||||
"/etc/openconnect/vpnc-script"
|
||||
];
|
||||
|
||||
pub(crate) fn find_default_vpnc_script() -> Option<String> {
|
||||
|
Loading…
Reference in New Issue
Block a user