diff options
author | Roy Marples <roy@marples.name> | 2007-11-28 14:32:24 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-28 14:32:24 +0000 |
commit | 444f23e2d158389b22d40537fc9b027d9f575229 (patch) | |
tree | 629c5b6e13512bdf55827d7c4d682aa71c279558 /sh | |
parent | f434007b982bf49029641d1238d929507abb4235 (diff) |
resolvconf may not be in /sbin
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/net.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -652,7 +652,7 @@ stop() { [ "${IFACE}" != "lo" -a "${IFACE}" != "lo0" ] && \ _down 2>/dev/null - [ -x /sbin/resolvconf ] && resolvconf -d "${IFACE}" + type resolvconf >/dev/null 2>&1 && resolvconf -d "${IFACE}" if type postdown >/dev/null 2>/dev/null ; then ebegin "Running postdown" |