Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2527

Raspberry Pi OS • Re: Finding method used to execute script at reboot

$
0
0
I have used one of the five methods that I know to execute a script at reboot or startup.

rc.local
.bashrc
init.d tab
systemd
crontab

Unfortunately, I do not recall how I started the script. It executes at startup but I can't figure out how I did it.

Would appreciate any thoughts as to how I can find the start up command. Thanks.
Have you looked into the system log? Good hints there, so an excellent place to start sleuthing.

Code:

journalctl -b

Statistics: Posted by bls — Thu May 23, 2024 4:46 pm



Viewing all articles
Browse latest Browse all 2527

Trending Articles