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

General discussion • Re: Finding method used to execute script at reboot

$
0
0
I'd look in at least the following:
  • /etc/rc.local
  • Code:

    sudo crontab -l
  • Code:

    contab -l
  • Files in /etc/cron.*
  • Files in/etc/systemd/system
  • Files in /usr/lib/systemd/system/
  • If automatic login is enabled:
    • Files in $HOME/.config/systemd/user
    • $HOME/.profile
    • $HOME/.bashrc
    • /etc/profile
    • Files in /etc/profile.d
    • /etc/bash.bashrc
    • /etc/xdg/lxsession/LXDE-pi/autostart
    • $HOME/.config/lxsession/LXDE-pi/autostart
    • $HOME/.config/wayfire.ini
    • Files in $HOME/.config/autostart
  • Any files called or sourced by any of the above.

When looking at the per user stuff check all users with a home directory including root (who's home directory is /root not /home/root).

Statistics: Posted by thagrol — Thu May 23, 2024 11:58 pm



Viewing all articles
Browse latest Browse all 4754

Trending Articles