Changeset 4285


Ignore:
Timestamp:
2006-07-26T00:13:54+02:00 (12 years ago)
Author:
nbd
Message:

fix dial on demand support (#436)

Location:
branches/whiterussian/openwrt/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/ppp/files/ifup.pppoe

    r3808 r4285  
    2727                        DEMAND=${DEMAND:+demand idle $DEMAND} 
    2828                        [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND} 
     29                        # set up a dummy nameserver for dial on demand 
     30                        echo "nameserver 0.0.0.1" > /tmp/resolv.conf 
    2931                ;; 
    3032                *) DEMAND="";; 
  • branches/whiterussian/openwrt/package/pptp/files/ifup.pptp

    r3808 r4285  
    2626                        DEMAND=${DEMAND:+demand idle $DEMAND} 
    2727                        [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND} 
     28                        # set up a dummy nameserver for dial on demand 
     29                        echo "nameserver 0.0.0.1" > /tmp/resolv.conf 
    2830                ;; 
    2931                *) DEMAND="";; 
Note: See TracChangeset for help on using the changeset viewer.