rcvar.subr (e477abf734cc777a55286bfbd6b80a6760c96acf) | rcvar.subr (56961fd7949de755f95a60fe8ac936f81e953f5b) |
---|---|
1if [ ! "$_STARTUP_RCVAR_SUBR" ]; then _STARTUP_RCVAR_SUBR=1 2# 3# Copyright (c) 2006-2012 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: --- 16 unchanged lines hidden (view full) --- 25# SUCH DAMAGE. 26# 27# $FreeBSD$ 28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 | 1if [ ! "$_STARTUP_RCVAR_SUBR" ]; then _STARTUP_RCVAR_SUBR=1 2# 3# Copyright (c) 2006-2012 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: --- 16 unchanged lines hidden (view full) --- 25# SUCH DAMAGE. 26# 27# $FreeBSD$ 28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 |
33f_dprintf "%s: loading includes..." startup/rcvar.subr |
|
33f_include $BSDCFG_SHARE/sysrc.subr 34 35############################################################ CONFIGURATION 36 37# 38# Default path to the `/etc/rc.d' directory where service(8) scripts are stored 39# 40: ${ETC_RC_D:=/etc/rc.d} --- 157 unchanged lines hidden (view full) --- 198 199 # Finally, move the temporary file into place 200 case "$STARTUP_RCVAR_MAP_CACHEFILE" in 201 */*) f_quietly mkdir -p "${STARTUP_RCVAR_MAP_CACHEFILE%/*}" 202 esac 203 mv "$tmpfile" "$STARTUP_RCVAR_MAP_CACHEFILE" 204} 205 | 34f_include $BSDCFG_SHARE/sysrc.subr 35 36############################################################ CONFIGURATION 37 38# 39# Default path to the `/etc/rc.d' directory where service(8) scripts are stored 40# 41: ${ETC_RC_D:=/etc/rc.d} --- 157 unchanged lines hidden (view full) --- 199 200 # Finally, move the temporary file into place 201 case "$STARTUP_RCVAR_MAP_CACHEFILE" in 202 */*) f_quietly mkdir -p "${STARTUP_RCVAR_MAP_CACHEFILE%/*}" 203 esac 204 mv "$tmpfile" "$STARTUP_RCVAR_MAP_CACHEFILE" 205} 206 |
207############################################################ MAIN 208 209f_dprintf "%s: Successfully loaded." startup/rcvar.subr 210 |
|
206fi # ! $_STARTUP_RCVAR_SUBR | 211fi # ! $_STARTUP_RCVAR_SUBR |