Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.