View previous topic :: View next topic |
Author |
Message |
realc n00b
Joined: 29 Apr 2003 Posts: 10
|
Posted: Thu May 01, 2003 5:22 am Post subject: startup scripts |
|
|
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! |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu May 01, 2003 5:25 am Post subject: |
|
|
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 |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Thu May 01, 2003 5:41 am Post subject: Re: startup scripts |
|
|
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 |
|
|
|