diff options
author | pjd <pjd@FreeBSD.org> | 2004-10-30 13:44:06 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-10-30 13:44:06 +0000 |
commit | 99334313420dd90c7d7f5cc6dac1a292b472001f (patch) | |
tree | 8b33932a48beb2cd86ecc804ea6123b37da7fcc4 /etc/defaults | |
parent | ae417ad6eff174e3deea727e7b5be16491f4cf7a (diff) | |
download | FreeBSD-src-99334313420dd90c7d7f5cc6dac1a292b472001f.zip FreeBSD-src-99334313420dd90c7d7f5cc6dac1a292b472001f.tar.gz |
Allow to change interfaces name on boot time.
Now, one should be able to put something like this into /etc/rc.conf:
ifconfig_fxp0_name="net0"
ifconfig_net0="inet 10.0.0.1/16"
Reviewed by: green
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 29ba08c..0916c34 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -129,6 +129,7 @@ cloned_interfaces="" # List of cloned network interfaces to create. ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. +#ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. # # If you have any sppp(4) interfaces above, you might also want to set # the following parameters. Refer to spppcontrol(8) for their meaning. |