Changeset 2618


Ignore:
Timestamp:
2005-12-11T22:46:27+01:00 (10 years ago)
Author:
nbd
Message:

use a subshell and redirect stdout,stderr in ifup.pppoe and ifup.pptp (fixes #57)

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

Legend:

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

    r2433 r2618  
    1313done 
    1414 
    15 while :; do 
     15(while :; do 
    1616        IFNAME=$(nvram get pppoe_ifname) 
    1717        USERNAME=$(nvram get ppp_username) 
     
    4747                $KEEPALIVE \ 
    4848                nic-$IFNAME 
    49 done & 
     49done 2>&1 >/dev/null ) & 
  • branches/whiterussian/openwrt/package/pptp/files/ifup.pptp

    r2437 r2618  
    1111done 
    1212 
    13 while :; do 
     13(while :; do 
    1414        PPTP_PROTO="$(nvram get pptp_proto)" 
    1515        [ "$PPTP_PROTO" = "static" ] || PPTP_PROTO="" 
     
    5353                $DEMAND \ 
    5454                $KEEPALIVE 
    55 done & 
     55done 2>&1 >/dev/null ) & 
    5656 
Note: See TracChangeset for help on using the changeset viewer.