this is still an env var
This commit is contained in:
parent
5f120db647
commit
6bc37fd203
@ -102,7 +102,7 @@ mount_svcdir() {
|
||||
_rc_get_kv_cache=""
|
||||
get_KV() {
|
||||
[ -z "${_rc_get_kv_cache}" ] \
|
||||
&& _RC_GET_KV_CACHE="$(uname -r)"
|
||||
&& _rc_get_kv_cache="$(uname -r)"
|
||||
|
||||
echo "$(KV_to_int "${_rc_get_kv_cache}")"
|
||||
|
||||
@ -112,8 +112,13 @@ get_KV() {
|
||||
. /etc/init.d/functions.sh
|
||||
. "${RC_LIBDIR}"/sh/init-functions.sh
|
||||
. "${RC_LIBDIR}"/sh/rc-functions.sh
|
||||
[ -r /etc/conf.d/rc ] && . /etc/conf.d/rc
|
||||
[ -r /etc/rc.conf ] && . /etc/rc.conf
|
||||
|
||||
# Compat shim for udev
|
||||
rc_coldplug=${rc_coldplug:-${RC_COLDPLUG:-yes}}
|
||||
RC_COLDPLUG=${rc_coldplug}
|
||||
|
||||
# Set the console loglevel to 1 for a cleaner boot
|
||||
# the logger should anyhow dump the ring-0 buffer at start to the
|
||||
# logs, and that with dmesg can be used to check for problems
|
||||
|
@ -59,7 +59,7 @@ describe() {
|
||||
done
|
||||
}
|
||||
|
||||
yesno ${rc_debug} && set -x
|
||||
yesno ${RC_DEBUG} && set -x
|
||||
|
||||
# If we're net.eth0 or openvpn.work then load net or openvpn config
|
||||
_c=${SVCNAME%%.*}
|
||||
|
Loading…
Reference in New Issue
Block a user