summaryrefslogtreecommitdiff
path: root/network/openconnect/vpnc-script
diff options
context:
space:
mode:
Diffstat (limited to 'network/openconnect/vpnc-script')
-rw-r--r--network/openconnect/vpnc-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/openconnect/vpnc-script b/network/openconnect/vpnc-script
index 11cdc3240f..96b6863e61 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