How to put an app in startup?

Hi,

I make a script to run when my router (GL-iNet ) is started, but nothing

here is code:

#!/bin/bash

clear

rtl_tcp -a 192.168.8.1 -n 8 -b 8

and saved as text file in bin

then i make

chmod 755 [name of file]

and

./ [name of file]

what is wrong here?

thank you in advance !

#!/bin/bash

should be

#!/bin/sh