Run a script at startup before login
8,869
To run a script at startup of Ubuntu, before login, you would edit /etc/rc.local
and add your desired commands. Make sure that the script ends with exit 0. LSS
Author by
Wouter
Updated on September 18, 2022Comments
-
Wouter over 1 year
I want to find out how to run a script made by me at startup before login.
-
IgorGanapolsky over 7 yearsThis doesn't work for Ngrok on Raspberry Pi. I still have to login before the command is executed.