Results 1 to 2 of 2
Mostly just the subject of the post. I want to be able to run a couple lines of script at every startup. It will require root priviledges. I'm not sure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-03-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 32
Where Do I Put a Script I Want to Run at Startup?
Mostly just the subject of the post. I want to be able to run a couple lines of script at every startup. It will require root priviledges. I'm not sure where to do this. In Windows I'd probably throw a batch file in the start up folder, is there anything similar I can do in Linux? I'm wondering if I can put a couple lines of script at the end of the inittab file or whether that would cause massive amounts of damage to my system.
Basically the CPU in my laptop starts out at 1.2 GHz while booting and I'd like to automatically have it go down to about have that to save power and lower temperature once it is done booting. I'm planning on controlling CPU frequency manually.
Thanks.
- 07-03-2005 #2Just Joined!
- Join Date
- Jun 2005
- Posts
- 7
try:
/etc/rc.d/rc.local


Reply With Quote
