This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: How can I auto-run my script?

Part Number: AM5728

Tool/software: Linux

Hi, TI and everyone,

I use AM5728 and PSK 05.00.00.15, and I want to auto-run my script as below:

root@am57xx-evm:~# cat hello.sh
#!/bin/sh

echo "##################"
echo "Hello!"
echo "##################"

root@am57xx-evm:~# cat /lib/systemd/system/hello.service
[Unit]
Description=hello scripts
[Service]

ExecStart=/etc/init.d/hello.sh
StandardOutput=journal+console

[Install]
WantedBy=multi-user.target
root@am57xx-evm:~#

But I could not find "Hello!" at booting, dmesg and ps aux.

Please lead to successful auto-run and echo to terminal.

Thanks,

Best Regards,

Aither.