It all depends on what you need. The call to bridge.begin should get you past uboot and such. The last service for ME is the wireless connection which takes 60-70 seconds. Bluetooth may take longer. If nothing else watch your boot process and then put in a delay long enough. Better would be to make the script return a "not ready" signal instead of running forever if it can't find what it needs.