aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsh.Linux/init.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh
index eb7659d3..962d30a7 100755
--- a/sh.Linux/init.sh
+++ b/sh.Linux/init.sh
@@ -135,7 +135,11 @@ KV_to_int() {
# Compat shim for udev
rc_coldplug=${rc_coldplug:-${RC_COLDPLUG:-yes}}
-RC_COLDPLUG=${rc_coldplug}
+if yesno "${rc_coldplug}"; then
+ RC_COLDPLUG=yes
+else
+ RC_COLDPLUG=no
+fi
# Set the console loglevel to 1 for a cleaner boot
# the logger should anyhow dump the ring-0 buffer at start to the