aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-27 17:17:37 +0000
committerRoy Marples <roy@marples.name>2007-12-27 17:17:37 +0000
commitdd69fb66b92a88f8a9340fbd9c504e878932c12e (patch)
treefb9aea62701f868d97072b1c7216a35a78621c78
parent68a42629d75f4a58b29b703f997e05d63c09a9a7 (diff)
Fix RC_COLDPLUG shim for real.
-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