Deleted Added
full compact
device.subr (244675) device.subr (245401)
1if [ ! "$_NETWORKING_DEVICE_SUBR" ]; then _NETWORKING_DEVICE_SUBR=1
2#
3# Copyright (c) 2006-2012 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 (INLUDING, 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 [ ! "$_NETWORKING_DEVICE_SUBR" ]; then _NETWORKING_DEVICE_SUBR=1
2#
3# Copyright (c) 2006-2012 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 (INLUDING, 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/networking/share/device.subr 244675 2012-12-25 10:47:45Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/networking/share/device.subr 245401 2013-01-14 01:09:23Z dteske $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." networking/device.subr
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/sysrc.subr

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

338 local dialog_menu
339 dialog_menu=$( eval $DIALOG \
340 --clear --title \"\$DIALOG_TITLE\" \
341 --backtitle \"\$DIALOG_BACKTITLE\" \
342 --hline \"\$hline\" \
343 --ok-label \"\$msg_ok\" \
344 --cancel-label \"\$msg_cancel\" \
345 --help-button \
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." networking/device.subr
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/sysrc.subr

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

338 local dialog_menu
339 dialog_menu=$( eval $DIALOG \
340 --clear --title \"\$DIALOG_TITLE\" \
341 --backtitle \"\$DIALOG_BACKTITLE\" \
342 --hline \"\$hline\" \
343 --ok-label \"\$msg_ok\" \
344 --cancel-label \"\$msg_cancel\" \
345 --help-button \
346 --help-label \"\$msg_help\" \
346 ${USE_XDIALOG:+--help \"\"} \
347 --menu \"\$prompt\" $size \
348 $menu_list \
349 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
350 )
351
352 local retval=$?
353 setvar DIALOG_MENU_$$ "$dialog_menu"

--- 150 unchanged lines hidden ---
347 ${USE_XDIALOG:+--help \"\"} \
348 --menu \"\$prompt\" $size \
349 $menu_list \
350 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
351 )
352
353 local retval=$?
354 setvar DIALOG_MENU_$$ "$dialog_menu"

--- 150 unchanged lines hidden ---