Deleted Added
full compact
script.subr (251997) script.subr (252112)
1if [ ! "$_SCRIPT_SUBR" ]; then _SCRIPT_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 (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 [ ! "$_SCRIPT_SUBR" ]; then _SCRIPT_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 (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/share/script.subr 251997 2013-06-19 17:14:59Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/share/script.subr 252112 2013-06-23 10:48:26Z dteske $
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." script.subr
34f_include $BSDCFG_SHARE/device.subr
35f_include $BSDCFG_SHARE/media/any.subr

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

176f_resword_new tcpMenuSelect f_dialog_menu_select_tcp # media/tcp.subr
177
178# media/ftp.subr
179f_resword_new mediaSetFTP f_media_set_ftp
180f_resword_new mediaSetFTPActive f_media_set_ftp_active
181f_resword_new mediaSetFTPPassive f_media_set_ftp_passive
182f_resword_new mediaSetFTPUserPass f_media_set_ftp_userpass
183
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." script.subr
34f_include $BSDCFG_SHARE/device.subr
35f_include $BSDCFG_SHARE/media/any.subr

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

176f_resword_new tcpMenuSelect f_dialog_menu_select_tcp # media/tcp.subr
177
178# media/ftp.subr
179f_resword_new mediaSetFTP f_media_set_ftp
180f_resword_new mediaSetFTPActive f_media_set_ftp_active
181f_resword_new mediaSetFTPPassive f_media_set_ftp_passive
182f_resword_new mediaSetFTPUserPass f_media_set_ftp_userpass
183
184# media/http.subr
185f_resword_new mediaSetHTTP f_media_set_http
186
184# media/httpproxy.subr
187# media/httpproxy.subr
185f_resword_new mediaSetHTTP f_media_set_http_proxy
186f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
187
188# packages/packages.subr
189f_resword_new configPackages f_package_config
190
191# variable.subr
192f_resword_new installVarDefaults f_variable_set_defaults
193f_resword_new dumpVariables f_dump_variables
194
195f_dprintf "%s: Successfully loaded." script.subr
196
197fi # ! $_SCRIPT_SUBR
188f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
189
190# packages/packages.subr
191f_resword_new configPackages f_package_config
192
193# variable.subr
194f_resword_new installVarDefaults f_variable_set_defaults
195f_resword_new dumpVariables f_dump_variables
196
197f_dprintf "%s: Successfully loaded." script.subr
198
199fi # ! $_SCRIPT_SUBR