Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 331177f1cf202be42c638edbb206ddef > files > 5

gpppwrap-1.0-3mdk.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