Changeset 33074


Ignore:
Timestamp:
2012-08-09T15:13:26+02:00 (5 years ago)
Author:
jogo
Message:

package: linux-atm: br2684ct: fix nas interface bringup on boot

Give nas interface time to setup them selves before configuring them.
Should fix #11826.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Jonas Gorski <jonas.gorski@…>

Location:
trunk/package/linux-atm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/linux-atm/Makefile

    r32504 r33074  
    1111PKG_NAME:=linux-atm 
    1212PKG_VERSION:=2.5.2 
    13 PKG_RELEASE:=3 
     13PKG_RELEASE:=4 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • trunk/package/linux-atm/files/br2684ctl

    r28867 r33074  
    11#!/bin/sh /etc/rc.common 
     2 
     3 
     4. /lib/functions/network.sh 
    25 
    36START=50 
     
    4447 
    4548        local circuit="$atmdev.$vpi.$vci" 
    46          
     49 
     50        network_defer_device "nas$unit" 
     51 
    4752        SERVICE_PID_FILE="/var/run/br2684ctl-$circuit.pid" \ 
    4853        service_start /usr/sbin/br2684ctl \ 
    4954                -c "$unit" -e "$encaps" -p "$payload" \ 
    5055                -a "$circuit" ${qos:+-q "$qos"} ${sendsize:+-s "$sendsize"} 
     56        sleep 1 
     57 
     58        network_ready_device "nas$unit" 
    5159} 
    5260 
Note: See TracChangeset for help on using the changeset viewer.