You are not logged in.

#1 2015-05-26 17:03:27

Fred7109
Member
Registered: 2015-05-17
Posts: 134

[Solved]Run shell script as root on startup

Hi

How to start shell script as root on startup?
When i search online it is all about an rc.local, but I do not have a rc.local, and when I make one myself it does not run the shell script.


Regards
Frederik

Last edited by Fred7109 (2015-05-26 20:13:04)

Offline

#2 2015-05-26 17:07:57

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved]Run shell script as root on startup

Offline

#3 2015-05-26 17:53:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Run shell script as root on startup

What is that script supposed to do?

Offline

#4 2015-05-26 19:40:14

Fred7109
Member
Registered: 2015-05-17
Posts: 134

Re: [Solved]Run shell script as root on startup

Thankyou for the answers, I went into problems so could first answer now. The script is supposed to delete sandboxes I have created with the sandfox script, and also start a new sandbox with sandfox.

Regards
Frederik

Offline

Board footer

Powered by FluxBB