Index: pppd-wrapper =================================================================== --- pppd-wrapper (revision 0) +++ pppd-wrapper (revision 0) @@ -0,0 +1,18 @@ +#!/bin/bash +# Copyright (c) 2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Contributed by Roy Marples (uberlord@gentoo.org) + +action="$1" +interface="$2" + +if [[ ${action} == "up" ]]; then + . /lib/rcscripts/net.modules.d/helpers.d/module-loader + resolv="${statedir}/${interface}/resolv.conf" + system_dns "${interface}" "${resolv}" +fi + +. /lib/rcscripts/net.modules.d/helpers.d/dhcp-state + +# vim:ts=4 Property changes on: pppd-wrapper ___________________________________________________________________ Name: svn:executable + * Index: functions =================================================================== --- functions (revision 1614) +++ functions (working copy) @@ -151,7 +151,7 @@ opts[i]=$( sed -n -e 's/^[ \t]*options[ \t]*\([^#]*\).*/\1#/p;' "${f}" | xargs ) sortlist[i]=$( sed -n -e 's/^[ \t]*sortlist[ \t]*\([^#]*\).*/\1/p' "${f}" ) - if [[ -z ${srvs[i]} && -z ${opts[i]} && -z ${sortlist[i]} ]]; then + if [[ -z ${srvs[i]} && -z ${opts[i]} && -z ${sortlist[i]} && -z ${search[i]} ]]; then unset srvs[i] unset search[i] unset opts[i]