Changeset 31860


Ignore:
Timestamp:
2012-05-26T17:31:54+02:00 (6 years ago)
Author:
nbd
Message:

ppp: add back ip-{up,down}.d support for now

Location:
trunk/package/ppp/files/lib/netifd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ppp/files/lib/netifd/ppp-down

    r31340 r31860  
    55proto_init_update "$IFNAME" 0 
    66proto_send_update "$PPP_IPPARAM" 
     7 
     8[ -d /etc/ppp/ip-down.d ] && { 
     9        for SCRIPT in /etc/ppp/ip-down.d/* 
     10        do 
     11                [ -x "$SCRIPT" ] && "$SCRIPT" "$@" 
     12        done 
     13} 
  • trunk/package/ppp/files/lib/netifd/ppp-up

    r31647 r31860  
    1515proto_send_update "$PPP_IPPARAM" 
    1616 
     17[ -d /etc/ppp/ip-up.d ] && { 
     18        for SCRIPT in /etc/ppp/ip-up.d/* 
     19        do 
     20                [ -x "$SCRIPT" ] && "$SCRIPT" "$@" 
     21        done 
     22} 
Note: See TracChangeset for help on using the changeset viewer.