aboutsummaryrefslogtreecommitdiff
path: root/network/openconnect
diff options
context:
space:
mode:
Diffstat (limited to 'network/openconnect')
-rw-r--r--network/openconnect/openconnect.SlackBuild2
-rw-r--r--network/openconnect/vpnc-script2
2 files changed, 2 insertions, 2 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild
index 2c54662daba0..bbfd574d2329 100644
--- a/network/openconnect/openconnect.SlackBuild
+++ b/network/openconnect/openconnect.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=openconnect
VERSION=${VERSION:-5.03}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/network/openconnect/vpnc-script b/network/openconnect/vpnc-script
index 11cdc3240f34..96b6863e6180 100644
--- a/network/openconnect/vpnc-script
+++ b/network/openconnect/vpnc-script
@@ -124,7 +124,7 @@ if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then
elif [ -x /sbin/resolvconf ]; then # Optional tool on Debian, Ubuntu, Gentoo
MODIFYRESOLVCONF=modify_resolvconf_manager
RESTORERESOLVCONF=restore_resolvconf_manager
-elif [ -x /sbin/netconfig ]; then # tool on Suse after 11.1
+elif [ -x /sbin/netconfig-suse ] && [ ! -f /etc/slackware-version ]; then # tool on Suse after 11.1
MODIFYRESOLVCONF=modify_resolvconf_suse_netconfig
RESTORERESOLVCONF=restore_resolvconf_suse_netconfig
elif [ -x /sbin/modify_resolvconf ]; then # Mandatory tool on Suse earlier than 11.1