How To Run A Command Or Script As Root On Startup / Boot Using systemd or A Cron Job - Linux Uprising Blog
![kernel - Executing sh script on (first) startup using systemd.run causes black screen/shutdown - Raspberry Pi Stack Exchange kernel - Executing sh script on (first) startup using systemd.run causes black screen/shutdown - Raspberry Pi Stack Exchange](https://i.stack.imgur.com/LpERI.jpg)
kernel - Executing sh script on (first) startup using systemd.run causes black screen/shutdown - Raspberry Pi Stack Exchange
![How to run script on startup on Ubuntu 22.04 Jammy Jellyfish Server/Desktop - Linux Tutorials - Learn Linux Configuration How to run script on startup on Ubuntu 22.04 Jammy Jellyfish Server/Desktop - Linux Tutorials - Learn Linux Configuration](https://linuxconfig.org/wp-content/uploads/2022/02/00-how-to-run-script-on-startup-on-ubuntu-22-04-jammy-jellyfish-server-desktop.png)
How to run script on startup on Ubuntu 22.04 Jammy Jellyfish Server/Desktop - Linux Tutorials - Learn Linux Configuration
![How to Run Shell Script as Systemd Service in Redhat - CentOS - Servers - VM Business Solutions Discourse Community How to Run Shell Script as Systemd Service in Redhat - CentOS - Servers - VM Business Solutions Discourse Community](https://vmbs.uk/uploads/default/original/1X/b7c1008fa826b33f905d52e441ff15b0b8b7746b.png)