Στις Tuesday 17 June 2008 06:21:24 ο/η Brian J. Murrell έγραψε:
> Here's a patch to force not using the ppp peer's DNS servers.
>
> Signed-off-by: Brian J. Murrell <[EMAIL PROTECTED]>;
>
> Index: package/ppp/files/ppp.sh
> ===================================================================
> --- package/ppp/files/ppp.sh (revision 11518)
> +++ package/ppp/files/ppp.sh (working copy)
> @@ -35,7 +35,10 @@
> config_get pppd_options "$cfg" pppd_options
> config_get_bool defaultroute "$cfg" defaultroute 1
> [ "$defaultroute" -eq 1 ] && defaultroute="defaultroute
> replacedefaultroute" || defaultroute="" + config_get_bool nousepeerdns
> "$cfg" nousepeerdns 1
> + [ "$nousepeerdns" -eq 1 ] && usepeerdns="" ||
> usepeerdns="usepeerdns"
>
> +
> interval="${keepalive##*[, ]}"
> [ "$interval" != "$keepalive" ] || interval=5
Hello Brian,
I think there is the option "peerdns" which is complementary to the one you
propose.
Vasilis
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel