Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running a command automatically at boot [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Glasswalker
n00b
n00b


Joined: 31 Mar 2003
Posts: 38
Location: NY

PostPosted: Fri Dec 09, 2005 10:24 am    Post subject: running a command automatically at boot [Solved] Reply with quote

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 :oops: (i also don't program).

PLEASE HELP! :cry:


Last edited by Glasswalker on Fri Dec 09, 2005 1:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
bec
Apprentice
Apprentice


Joined: 30 Sep 2004
Posts: 220
Location: Cali - Colombia

PostPosted: Fri Dec 09, 2005 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Fri Dec 09, 2005 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Glasswalker
n00b
n00b


Joined: 31 Mar 2003
Posts: 38
Location: NY

PostPosted: Fri Dec 09, 2005 11:09 am    Post subject: Reply with quote

thank you :)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Dec 09, 2005 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum