Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 trying to configure my Mac Mini running CentOS 5.5 to start automatically when power is restored after a power loss. I understand the following command has to be executed:

setpci -s 0:1f.0 0xa4.b=0

When I run that command on my machine though I get bash: setpci: command not found. Is there a package I need to install via yum or something? I'm not seeing a clear answer via Google and I looked at the man page for setpci and it doesn't mention anything.

Also, does this command need to be run every time the machine starts or just once?

share|improve this question

The problem in my case is that I was connected to the server via SSH as a non-root user and when I executed su to run the setpci command I didn't not run su with the - modifier. This caused my root users environment variables not to be included and caused the setpci command to fail.

Executing su - instead of su fixed my problem.

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.