#!/bin/sh
#
# Coyote PPP Dial-up ip-down Script for a PPPoE 'Dial-on-Demand '
#	called by: pppd
#              called after PPP connection is terminated
# Created by: Michael Kablitz <mkab@deutschsoft.com>
# 07-23-2000


# This code restores the original resolv.conf saved when ip-up
# was called by the pppd which uses the `usepeerdns' option and
# resolv.conf was modified for the supplied dns server adresses.
#

if [ -f /etc/ppp/resolv.prev ]; then
	cp -fp /etc/ppp/resolv.prev /etc/resolv.conf
fi


exit 0

