Deleted Added
full compact
script.subr (250318) script.subr (250323)
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 250318 2013-05-07 04:03:59Z dteske $
27# $FreeBSD: head/usr.sbin/bsdconfig/share/script.subr 250323 2013-05-07 05:40:20Z 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/variable.subr
36f_include $BSDCFG_SHARE/media/any.subr
37f_include $BSDCFG_SHARE/media/tcpip.subr
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/variable.subr
36f_include $BSDCFG_SHARE/media/any.subr
37f_include $BSDCFG_SHARE/media/tcpip.subr
38f_include $BSDCFG_SHARE/packages/packages.subr
38
39############################################################ GLOBALS
40
41RESWORDS=
42
43############################################################ FUNCTIONS
44
45# f_resword_new $resword $function

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

183f_resword_new mediaSetFTPActive f_media_set_ftp_active
184f_resword_new mediaSetFTPPassive f_media_set_ftp_passive
185f_resword_new mediaSetFTPUserPass f_media_set_ftp_userpass
186
187# media/httpproxy.subr
188f_resword_new mediaSetHTTP f_media_set_http_proxy
189f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
190
39
40############################################################ GLOBALS
41
42RESWORDS=
43
44############################################################ FUNCTIONS
45
46# f_resword_new $resword $function

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

184f_resword_new mediaSetFTPActive f_media_set_ftp_active
185f_resword_new mediaSetFTPPassive f_media_set_ftp_passive
186f_resword_new mediaSetFTPUserPass f_media_set_ftp_userpass
187
188# media/httpproxy.subr
189f_resword_new mediaSetHTTP f_media_set_http_proxy
190f_resword_new mediaSetHTTPProxy f_media_set_http_proxy
191
192# packages/packages.subr
193f_resword_new configPackages f_package_config
194
191f_dprintf "%s: Successfully loaded." script.subr
192
193fi # ! $_SCRIPT_SUBR
195f_dprintf "%s: Successfully loaded." script.subr
196
197fi # ! $_SCRIPT_SUBR