From: Roger Pueyo Centelles Date: Thu, 5 Jun 2014 16:26:52 +0000 (+0200) Subject: Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6dc26aef0cddd0dbf2798f6c55887fb85f5618b4;p=feed%2Frouting.git Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table 60 is not added --- diff --git a/bmx6/files/etc/init.d/bmx6 b/bmx6/files/etc/init.d/bmx6 index 4926e2b..cb2d5b3 100755 --- a/bmx6/files/etc/init.d/bmx6 +++ b/bmx6/files/etc/init.d/bmx6 @@ -27,6 +27,7 @@ PID=/var/run/bmx6/pid start() { cd /root/ + while pgrep -f mac80211.sh ; do sleep 1; done ulimit -c 20000 $BIN -f $CONF -d0 > /dev/null & }