diff options
Diffstat (limited to 'openconnect/build/patches/vpnc-script_slackware.patch')
-rw-r--r-- | openconnect/build/patches/vpnc-script_slackware.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openconnect/build/patches/vpnc-script_slackware.patch b/openconnect/build/patches/vpnc-script_slackware.patch new file mode 100644 index 00000000..3ffc3567 --- /dev/null +++ b/openconnect/build/patches/vpnc-script_slackware.patch @@ -0,0 +1,11 @@ +--- vpnc-script.orig 2017-06-08 19:49:19.350920045 +0200 ++++ vpnc-script 2017-06-24 21:29:57.473670157 +0200 +@@ -127,7 +127,7 @@ + elif [ -x /sbin/resolvconf ]; then # Optional tool on Debian, Ubuntu, Gentoo and FreeBSD + MODIFYRESOLVCONF=modify_resolvconf_manager + RESTORERESOLVCONF=restore_resolvconf_manager +-elif [ -x /sbin/netconfig ]; then # tool on Suse after 11.1 ++elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware + MODIFYRESOLVCONF=modify_resolvconf_suse_netconfig + RESTORERESOLVCONF=restore_resolvconf_suse_netconfig + elif [ -x /sbin/modify_resolvconf ]; then # Mandatory tool on Suse earlier than 11.1 |