diff options
author | Roy Marples <roy@marples.name> | 2007-11-23 22:22:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-23 22:22:18 +0000 |
commit | 6bc37fd203298f8467d70da4d7bbc37a2e2192bb (patch) | |
tree | 52631f18a50ad81982eb2da48c4a62334c72702e /sh.Linux/init.sh | |
parent | 5f120db647e59eada6b434243d796bd31792bdad (diff) |
this is still an env var
Diffstat (limited to 'sh.Linux/init.sh')
-rwxr-xr-x | sh.Linux/init.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index 84545b66..2d51e8e3 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -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 |