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/PROCESSOR-SDK-AM335X: init script not working in /etc/init.d

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hi,

I'm working on latest ti sdk ti-processor-sdk-linux-am335x-evm-03.02.00.05-Linux-x86-Install. I'm using filesystem "arago-base-tisdk-image-am335x-evm". I wanted to put init script in /etc/init.d and referred the below ti document.

vi /etc/init.d/helloworld.sh

#!/bin/sh

case $1 in

start )
echo ""
echo "Hello from Sitara!!!"
echo ""
 ;;
stop )
echo ""
echo "Goodbye from Sitara :("
echo ""
 ;;
* )
echo "$0: unknown option passed"
 ;;

esac

I'm are not getting any logs like "Hello from Sitara!!! " and "Goodbye from Sitara :".

Below are the screen shots of logs.

Though services are getting start and stop for helloworld script but logs from script are not coming.

Thanks and Regards,

Deshvir Malik