#!/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