aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net/system.sh')
-rw-r--r--net/system.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/system.sh b/net/system.sh
index 0b65379..518a899 100644
--- a/net/system.sh
+++ b/net/system.sh
@@ -46,7 +46,7 @@ _system_dns()
[ -n "${options}" ] && buffer="${buffer}options ${options}\n"
# Support resolvconf if we have it.
- if [ -x /sbin/resolvconf ]; then
+ if command -v resolvconf >/dev/null; then
x="-a ${IFACE}"
eval imetric=\${metric_${IFVAR}}
if [ -n "${imetric}" ]; then