[Novalug] where to put commands to be executed at boot time
nick at hackermonkey.com
Sun Apr 12 11:06:38 EDT 2009
Nino Pereira wrote:
> On Redhat/Fedora these commands should be put in a file
> like /etc/rc.d/rc.local, I can't find these files.
> They may sit in a similarly-looking file in /etc/init.d,
> which has all kinds of files with enticing names, but none
> that calls out: 'put the IP address info in me'.
On RedHat/Fedora they go under /etc/sysconfig/network-scripts/ifcfg-ethX
with one file for each interface. I find that a little easier then the
Ubuntu way of /etc/networks/interfaces but it is probably just a case
of "what Im used to" not really one way better then the others. Check
your /etc/networks/interfaces file and put your address in there.
More information about the Novalug