2
0
forked from Ivasoft/openwrt

linux-atm: add wrapper for br2684ctl to defer nasX device bringup

Fixes a race condition on netifd device bringup.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47891
This commit is contained in:
Felix Fietkau
2015-12-14 11:02:12 +00:00
parent c0f4c9e0d8
commit 510f5a7209
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/sh
. /lib/functions/network.sh
device="$1"; shift
network_defer_device "$device"
exec /usr/sbin/br2684ctl "$@"