Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > 3b643944b4fed401d1198ee32d3d6029 > files > 5

gpppwrap-1.0-5mdk.i586.rpm

#!/bin/sh
#
# Remove the entries in /etc/resolv.conf to avoid DNS timeout:
cat > /etc/resolv.conf << ENDOFCAT
# This file gets modified when you run ppp-on or ppp-off
# ppp is now off
ENDOFCAT

# stop dns proxy and distribute only /etc/hosts via DNS:
[ -x "/usr/sbin/dnrd" ] && dnrd
exit 0