Deleted Added
full compact
rcconf (251266) rcconf (251389)
1#!/bin/sh
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 (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#
1#!/bin/sh
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 (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/startup/rcconf 251266 2013-06-02 22:34:40Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/startup/rcconf 251389 2013-06-04 16:48:23Z dteske $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." "$0"
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/mustberoot.subr

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

76#
77# Display the dialog(1)-based application main menu.
78#
79dialog_menu_main()
80{
81 local prompt=
82 local menu_list="
83 'X $msg_exit' '$msg_exit_desc'
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." "$0"
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/mustberoot.subr

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

76#
77# Display the dialog(1)-based application main menu.
78#
79dialog_menu_main()
80{
81 local prompt=
82 local menu_list="
83 'X $msg_exit' '$msg_exit_desc'
84 ${SHOW_DESC:+'$msg_exit_help'}
84 ${SHOW_DESC:+'$msg_exit_this_menu'}
85 '> $msg_add_new' '$msg_add_new_desc'
86 ${SHOW_DESC:+'$msg_add_new_help'}
87 '> $msg_delete' '$msg_delete_desc'
88 ${SHOW_DESC:+'$msg_delete_help'}
89 ${USE_XDIALOG:+
90 '> $msg_view_details' '$msg_view_details_desc'
91 ${SHOW_DESC:+'$msg_view_details_help'}
92 }

--- 171 unchanged lines hidden ---
85 '> $msg_add_new' '$msg_add_new_desc'
86 ${SHOW_DESC:+'$msg_add_new_help'}
87 '> $msg_delete' '$msg_delete_desc'
88 ${SHOW_DESC:+'$msg_delete_help'}
89 ${USE_XDIALOG:+
90 '> $msg_view_details' '$msg_view_details_desc'
91 ${SHOW_DESC:+'$msg_view_details_help'}
92 }

--- 171 unchanged lines hidden ---