Deleted Added
sdiff udiff text old ( 240684 ) new ( 240768 )
full compact
1#!/bin/sh
2#-
3# Copyright (c) 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/console/keymap 240684 2012-09-18 22:28:42Z dteske $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_include $BSDCFG_SHARE/dialog.subr
34f_include $BSDCFG_SHARE/mustberoot.subr
35f_include $BSDCFG_SHARE/sysrc.subr

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

111
112 size=$( eval f_dialog_menu_size \
113 \"\$DIALOG_TITLE\" \
114 \"\$DIALOG_BACKTITLE\" \
115 \"\$prompt\" \
116 \"\$hline\" \
117 $menu_list )
118
119 eval $DIALOG \
120 --clear --title \"\$DIALOG_TITLE\" \
121 --backtitle \"\$DIALOG_BACKTITLE\" \
122 --hline \"\$hline\" \
123 --ok-label \"\$msg_ok\" \
124 --cancel-label \"\$msg_cancel\" \
125 --menu \"\$prompt\" $size \
126 $menu_list \
127 2> "$DIALOG_TMPDIR/dialog.menu.$$"
128}
129
130############################################################ MAIN
131
132# Incorporate rc-file if it exists
133[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc"
134
135#

--- 230 unchanged lines hidden ---