script.subr (251996) | script.subr (251997) |
---|---|
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 251996 2013-06-19 17:13:16Z dteske $ | 27# $FreeBSD: head/usr.sbin/bsdconfig/share/script.subr 251997 2013-06-19 17:14: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 --- 118 unchanged lines hidden (view full) --- 154# 155 156# this file 157f_resword_new loadConfig f_script_load 158 159# device.subr 160f_resword_new deviceRescan f_device_rescan 161 | 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 --- 118 unchanged lines hidden (view full) --- 154# 155 156# this file 157f_resword_new loadConfig f_script_load 158 159# device.subr 160f_resword_new deviceRescan f_device_rescan 161 |
162# variable.subr 163f_resword_new installVarDefaults f_variable_set_defaults 164f_resword_new dumpVariables f_dump_variables 165 | |
166# media/common.subr 167f_resword_new mediaOpen f_media_open 168f_resword_new mediaClose f_media_close 169 170# media includes 171f_resword_new mediaGetType f_media_get_type # media/any.subr 172f_resword_new mediaSetCDROM f_media_set_cdrom # media/cdrom.subr 173f_resword_new mediaSetDOS f_media_set_dos # media/dos.subr --- 13 unchanged lines hidden (view full) --- 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 | 162# media/common.subr 163f_resword_new mediaOpen f_media_open 164f_resword_new mediaClose f_media_close 165 166# media includes 167f_resword_new mediaGetType f_media_get_type # media/any.subr 168f_resword_new mediaSetCDROM f_media_set_cdrom # media/cdrom.subr 169f_resword_new mediaSetDOS f_media_set_dos # media/dos.subr --- 13 unchanged lines hidden (view full) --- 183 184# 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 | 195f_dprintf "%s: Successfully loaded." script.subr 196 197fi # ! $_SCRIPT_SUBR |