Deleted Added
full compact
script.subr (252743) script.subr (252745)
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 252743 2013-07-05 01:37:35Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/share/script.subr 252745 2013-07-05 01:44:59Z 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

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

185# media/http.subr
186f_resword_new mediaSetHTTP f_media_set_http
187
188# media/httpproxy.subr
189f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
190
191# packages/packages.subr
192f_resword_new configPackages f_package_config
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

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

185# media/http.subr
186f_resword_new mediaSetHTTP f_media_set_http
187
188# media/httpproxy.subr
189f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
190
191# packages/packages.subr
192f_resword_new configPackages f_package_config
193f_resword_new packageAdd f_package_add
193
194# variable.subr
195f_resword_new installVarDefaults f_variable_set_defaults
196f_resword_new dumpVariables f_dump_variables
197
198f_dprintf "%s: Successfully loaded." script.subr
199
200fi # ! $_SCRIPT_SUBR
194
195# variable.subr
196f_resword_new installVarDefaults f_variable_set_defaults
197f_resword_new dumpVariables f_dump_variables
198
199f_dprintf "%s: Successfully loaded." script.subr
200
201fi # ! $_SCRIPT_SUBR