I want to find out how to run a script made by me at startup before login.
Asked
Active
Viewed 9,222 times
1 Answers
8
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

Mitch
- 107,631
-
This doesn't work for Ngrok on Raspberry Pi. I still have to login before the command is executed. – IgorGanapolsky Aug 07 '16 at 21:46