#!/bin/sh
#!/bin/sh

if [ -x /etc/ppp/ip-down.d/$6 ]; then
	. /etc/ppp/ip-down.d/$6 "$@"
elif [ -n "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then
	if [ -f /etc/ppp/resolv.prev ]; then
		cp -f /etc/ppp/resolv.prev /etc/resolv.conf
		chmod 644 /etc/resolv.conf
	else
		rm -f /etc/resolv.conf
	fi
fi
