Changeset 17802 for branches/8.09


Ignore:
Timestamp:
2009-09-30T18:08:03+02:00 (7 years ago)
Author:
jow
Message:

[8.09] merge r17801

Location:
branches/8.09/package/ppp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/package/ppp/Makefile

    r17763 r17802  
    1010PKG_NAME:=ppp 
    1111PKG_VERSION:=2.4.3 
    12 PKG_RELEASE:=11.2 
     12PKG_RELEASE:=11.3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • branches/8.09/package/ppp/files/etc/ppp/ip-up

    r17763 r17802  
    1414        uci_set_state network "$PPP_IPPARAM" ipaddr "$PPP_LOCAL" 
    1515        uci_set_state network "$PPP_IPPARAM" gateway "$PPP_REMOTE" 
     16 
     17        local dns="$DNS1${DNS2:+ $DNS2}" 
     18        [ -n "$dns" ] && uci_set_state network "$PPP_IPPARAM" dns "$dns" 
    1619} 
    1720[ -z "$PPP_IPPARAM" ] || env -i ACTION="ifup" INTERFACE="$PPP_IPPARAM" DEVICE="$PPP_IFACE" PROTO=ppp /sbin/hotplug-call "iface" 
Note: See TracChangeset for help on using the changeset viewer.