I am trying to run my application automatically, so I have placed a .sh that have commands to insert some modules and the path to application too in init.d folder. Then I have created a symbolic link to it and placed that in the rc3.d folder.
While I am rebooting my processor,all other commands are running except that application. How can I achieve this?
My .sh file is:
#!/bin/bash
mkdir -p /dev/mfi-ffs/
#modprobe g_ffs idVendor=0x15A2 idProduct=0x1234 functions=fsl iSerialNumber=123456789 iManufacturer="NXP" iProduct="NXP Accessory"
#mount -t functionfs fsl /dev/mfi-ffs/
#cd /usr/bin/
#test_suite
Foo.service
file in/etc/systemd/system
.