View previous topic :: View next topic |
Author |
Message |
Glasswalker n00b
Joined: 31 Mar 2003 Posts: 38 Location: NY
|
Posted: Fri Dec 09, 2005 10:24 am Post subject: running a command automatically at boot [Solved] |
|
|
ok i'm one of the unfortunate people with the pci_bus enumeration problem.. i need to run the following to get lspci to show my pcmcia wireless card
Code: | setpci -s 0:a.0 SETSUBORDINATE_BUS=A0 |
so how do i do this... the web site that i found the fix on said to sick it at the top of /etc/defaults/pcmcia but obviously it's old or on another distro cause that doesn't exist..
i'm fairly new or i'd probably be able to write up a script for this (i also don't program).
PLEASE HELP!
Last edited by Glasswalker on Fri Dec 09, 2005 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
bec Apprentice
Joined: 30 Sep 2004 Posts: 220 Location: Cali - Colombia
|
Posted: Fri Dec 09, 2005 11:02 am Post subject: |
|
|
You can put the command in the file /etc/conf.d/local.start with the complete path:
/usr/bin/setpci -s 0:a.0 SETSUBORDINATE_BUS=A0 _________________ abe |
|
Back to top |
|
|
heikole Tux's lil' helper
Joined: 04 Oct 2004 Posts: 148 Location: Berlin, Germany
|
Posted: Fri Dec 09, 2005 11:03 am Post subject: |
|
|
Put your line into /etc/conf.d/local.start. That's the right place for commands you want to be executed at boot time. _________________ 42 |
|
Back to top |
|
|
Glasswalker n00b
Joined: 31 Mar 2003 Posts: 38 Location: NY
|
Posted: Fri Dec 09, 2005 11:09 am Post subject: |
|
|
thank you |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Dec 09, 2005 12:50 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
Not an installing gentoo problem _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|