Hello,
As per my previous thread which is given in the link below
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1308209/am5728-service-file-and-script-execution
I have created a service file as given below
[Unit]
Description=My Script Service
After=serial-getty@.service
[Service]
ExecStart=/home/PARTITION/flag.sh
[Install]
WantedBy=multi-user.target
the problem i am facing here is on reboot the script flag.sh requires some user inputs on the minicom terminal but nothing is showing on the minicom terminal , i checked the status of the service file and it is indeed running but the prompts of flag.sh is taking place in StandardInput terminal of the service file and not on the minicom due to which i am not able to complete the task given to the service file, is there anyway that after reboot also i get the outputs on the minicom terminal so that i can give inputs and continue with the task assigned to flag.sh
Regards,
Roshan Rajagopal