mmatuska / mfsbsd

mfsBSD
http://mfsbsd.vx.sk
BSD 2-Clause "Simplified" License
494 stars 137 forks source link

how to prevent ifconfig_em0="DHCP" in /etc/rc.conf.d/network #138

Closed Matatu closed 1 year ago

Matatu commented 1 year ago

I want to setup a fixed IP for em0, but regardless what I setup in "conf/rc.conf" or "config/interfaces.conf", the network conf with the DHCP conf is there and overload my em0 config.

Matatu commented 1 year ago

After digging a little bit deeper I found out, that mfsbsd.autodhcp="NO"

is needed in "conf/loader.conf" to prevent DHCP.