Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table... 31/head
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Thu, 5 Jun 2014 16:26:52 +0000 (18:26 +0200)
committerRoger Pueyo Centelles <roger.pueyo@guifi.net>
Thu, 5 Jun 2014 16:26:52 +0000 (18:26 +0200)
bmx6/files/etc/init.d/bmx6

index 4926e2b..cb2d5b3 100755 (executable)
@@ -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 &
 }