resolvconf may not be in /sbin

This commit is contained in:
Roy Marples 2007-11-28 14:32:24 +00:00
parent f434007b98
commit 444f23e2d1

View File

@ -652,7 +652,7 @@ stop() {
[ "${IFACE}" != "lo" -a "${IFACE}" != "lo0" ] && \ [ "${IFACE}" != "lo" -a "${IFACE}" != "lo0" ] && \
_down 2>/dev/null _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 if type postdown >/dev/null 2>/dev/null ; then
ebegin "Running postdown" ebegin "Running postdown"