Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table 60 is not added

This commit is contained in:
Roger Pueyo Centelles 2014-06-05 18:26:52 +02:00
parent 963a3a1aa6
commit 6dc26aef0c
1 changed files with 1 additions and 0 deletions

View File

@ -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 &
}