Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startup scripts
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
realc
n00b
n00b


Joined: 29 Apr 2003
Posts: 10

PostPosted: Thu May 01, 2003 5:22 am    Post subject: startup scripts Reply with quote

for some reason /dev/sda1 is not mounted to /boot at startup, and im too lazy to wana shell out: mount /dev/sda1 /boot every time. how would i make it so that it is mounted at startup?

further more i want the command: dhcpcd eth0
shelled out at startup so that i have an internet connection thru vmware.

any help is good!
thanks! :D
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu May 01, 2003 5:25 am    Post subject: Reply with quote

By default, /boot is not mounted on startup. If you'd like to change that, edit /etc/fstab and change the entry for /boot by removing the noauto option.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Thu May 01, 2003 5:41 am    Post subject: Re: startup scripts Reply with quote

realc wrote:
further more i want the command: dhcpcd eth0
shelled out at startup so that i have an internet connection thru vmware.

Put all the commands you want to run at startup in /etc/conf.d/local.start. Make sure you have a symlink named "local" in your /etc/runlevels/default. If not then:
Code:
rc-update add local default

_________________
After Perl everything else is just assembly language.
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