Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdconfig/share/media/network.subr
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
# f_media_init_network $device | # f_media_init_network $device | ||||
# | # | ||||
# Initialize a network device (such as `fxp0', `em0', etc.). Returns success if | # Initialize a network device (such as `fxp0', `em0', etc.). Returns success if | ||||
# able to successfully initialize the device. If not running as init (basically | # able to successfully initialize the device. If not running as init (basically | ||||
# from the FreeBSD install media) then assume that the network has already been | # from the FreeBSD install media) then assume that the network has already been | ||||
# initialized and returns success. | # initialized and returns success. | ||||
# | # | ||||
# The variables (from variable.subr) used to initialize the network are as | # The variables (from variable.subr) used to initialize the network are as | ||||
# follows (all of which are configured either automatically or manaully): | # follows (all of which are configured either automatically or manually): | ||||
# | # | ||||
# VAR_IFCONFIG + device_name (e.g., `ifconfig_em0') | # VAR_IFCONFIG + device_name (e.g., `ifconfig_em0') | ||||
# Automatically populated but can be overridden in a script. This | # Automatically populated but can be overridden in a script. This | ||||
# defines the ifconfig(8) properties specific to a chosen network | # defines the ifconfig(8) properties specific to a chosen network | ||||
# interface device. Optional if VAR_IPV6ADDR is set. | # interface device. Optional if VAR_IPV6ADDR is set. | ||||
# VAR_IPV6ADDR [Optional] | # VAR_IPV6ADDR [Optional] | ||||
# If not running as init (and setting up RTSOL connections for | # If not running as init (and setting up RTSOL connections for | ||||
# the interface), then must be set manually. If set, used as the | # the interface), then must be set manually. If set, used as the | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |