I have tried to run the shell script manually, but no luck; Also the executables for commands like hciconfig are not sent to /sbin by default ? They carried over to the target and placed in /legato/systems/current/apps/bluetoothUtil/readonly/bin and not in /sbin.
I manually did an overlayfs and put the hci stuff in /sbin and tried again to run the shell script commands; but still no luck. I am getting Initialization failed.