From 6dc26aef0cddd0dbf2798f6c55887fb85f5618b4 Mon Sep 17 00:00:00 2001 From: Roger Pueyo Centelles Date: Thu, 5 Jun 2014 18:26:52 +0200 Subject: [PATCH] Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table 60 is not added --- bmx6/files/etc/init.d/bmx6 | 1 + 1 file changed, 1 insertion(+) 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 & } -- 2.30.2