Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using arch linux and my questions is where is the best place to run a commandline programm on the startup.

I want to do some custom stuff on boottime. Like I want to deactivate my graphic card on the startup. I load the module and now I want to run the bash-line to deactivate this.

Where I can do this?

share|improve this question
    
I know it's a lot of reading to do, but I think for many that is part of becoming an Arch user. I recommend you have a look at this wiki article about autostarting. –  oKtosiTe Mar 12 '13 at 16:26
add comment

1 Answer

up vote 2 down vote accepted

I can see two main options for you:

  1. Write your own script into /etc/init.d
  2. Edit the @reboot entry at Cron.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.