0

I am wrote a Bash script that will be run on log-on for the Raspberry Pi running Kali Linux.

The issue lies when the linux system starts up, I have to physically SSH into the terminal for the script to run! Why?

I put the script inside, .bash_profile, which is a known file to be called at start-up.

I also made sure to allow for automatic root log-on, after boot.

1 Answers1

1

.bash_profile is executed when you login via tty or terminal emulator (or ssh), you should put your script into .profile instead.