
Run Script at startup
- fabiobiscia
- Posts: 2
- Joined: 08 Jan 2021, 08:28
Run Script at startup
Hi everyone. I would like to create a script that starts automatically on startup, possibly with root privileges. I have already tried some techniques tested with the main linux distros but none worked, could you help me?

Re: Run Script at startup
Hi,
You can try to put the script under /etc/init.d/, and then use the touch command to create a file with the same name as the script under /etc/sc.d/.
Have a good day!
You can try to put the script under /etc/init.d/, and then use the touch command to create a file with the same name as the script under /etc/sc.d/.
Have a good day!
To contact our tech team, please email to support(at)terra-master.com, remember to replace (at) with @
- fabiobiscia
- Posts: 2
- Joined: 08 Jan 2021, 08:28
Re: Run Script at startup
Thanks for the reply. in rc.d it is sufficient to create an empty file with the same name?