Bootscript file

Hey, so I’m trying to write a bootscript file, but I have no idea how to do it.

I want to run an executable in /home/root/balance/bin/balance

but i have no idea what to write to make it run

Here’s what i have so far

#!/bin/bash
insmod /home/root/cape/tieqep.ko <---------------- code to start encoder module
/home/root/balance/bin/balance <---------------- line i wrote to make it run balance, but isn’t working

Can anyone tell me what I’m doing wrong?

Thanks