Re: How to load rc.conf ifconfig without reboot

From: Jeppe Uhd (nnewsnospam_at_nx.dk)
Date: 07/05/05


Date: Tue, 5 Jul 2005 21:16:51 +0200

nntp wrote:
>
> If they are the same, will "ifconfig if0 inet 192.168.0.1 netmask
> 255.255.255.0" automatically add line of "ifconfig_if0="inet
> 192.168.0.1 netmask 255.255.255.0" into rc.conf

Nope, if you want the changes after the next reboot, you must edit rc.conf
manually

> By the way, my main problem is to change the domain name and hostname
> of the server, without rebooting. Is there a way to do it?

hostname my.host.name

And edit the line in rc.conf saying:
hostname="my.old.host.name"

-- 
MVH Jeppe Uhd - NX http://nx.dk
Webhosting for nørder og andet godtfolk


Relevant Pages