Deleted Added
full compact
tcpip.subr (264840) tcpip.subr (298884)
1if [ ! "$_MEDIA_TCPIP_SUBR" ]; then _MEDIA_TCPIP_SUBR=1
2#
3# Copyright (c) 2012-2013 Devin Teske
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 10 unchanged lines hidden (view full) ---

19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25# SUCH DAMAGE.
26#
1if [ ! "$_MEDIA_TCPIP_SUBR" ]; then _MEDIA_TCPIP_SUBR=1
2#
3# Copyright (c) 2012-2013 Devin Teske
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 10 unchanged lines hidden (view full) ---

19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25# SUCH DAMAGE.
26#
27# $FreeBSD: head/usr.sbin/bsdconfig/share/media/tcpip.subr 264840 2014-04-23 22:04:04Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/share/media/tcpip.subr 298884 2016-05-01 16:38:12Z pfg $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." media/tcpip.subr
34f_include $BSDCFG_SHARE/device.subr
35f_include $BSDCFG_SHARE/dialog.subr

--- 1088 unchanged lines hidden (view full) ---

1124# VAR_NETINTERACTIVE
1125# The one exception to VAR_NONINTERACTIVE is VAR_NETINTERACTIVE,
1126# which if set will prompt the user to try RTSOL (unless
1127# VAR_TRY_RTSOL has been set), try DHCP (unless VAR_TRY_DHCP has
1128# been set), and display the network verification dialog. This
1129# allows you to have a mostly non-interactive script that still
1130# prompts for network setup/confirmation.
1131#
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." media/tcpip.subr
34f_include $BSDCFG_SHARE/device.subr
35f_include $BSDCFG_SHARE/dialog.subr

--- 1088 unchanged lines hidden (view full) ---

1124# VAR_NETINTERACTIVE
1125# The one exception to VAR_NONINTERACTIVE is VAR_NETINTERACTIVE,
1126# which if set will prompt the user to try RTSOL (unless
1127# VAR_TRY_RTSOL has been set), try DHCP (unless VAR_TRY_DHCP has
1128# been set), and display the network verification dialog. This
1129# allows you to have a mostly non-interactive script that still
1130# prompts for network setup/confirmation.
1131#
1132# After successfull execution, the following variables are set:
1132# After successful execution, the following variables are set:
1133#
1134# VAR_IFCONFIG + $device (e.g., `ifconfig_em0')
1135# Defines the ifconfig(8) properties specific to $device.
1136#
1137f_device_dialog_tcp()
1138{
1139 local dev="$1" devname cp n
1140 local use_dhcp="" use_rtsol=""

--- 573 unchanged lines hidden ---
1133#
1134# VAR_IFCONFIG + $device (e.g., `ifconfig_em0')
1135# Defines the ifconfig(8) properties specific to $device.
1136#
1137f_device_dialog_tcp()
1138{
1139 local dev="$1" devname cp n
1140 local use_dhcp="" use_rtsol=""

--- 573 unchanged lines hidden ---