From 770b796e52f2b84bcca0c78ddc9975d6b91e41de Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 19 Nov 2010 13:37:17 +0100 Subject: [PATCH] base/init: honor old "real_init=" --- modules.d/99base/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/init b/modules.d/99base/init index f79d102..6557cf4 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -251,7 +251,7 @@ source_all pre-pivot # by the time we get here, the root filesystem should be mounted. # Try to find init. -for i in "$(getarg init=)" /sbin/init /etc/init /init /bin/sh; do +for i in "$(getarg real_init=)" "$(getarg init=)" /sbin/init /etc/init /init /bin/sh; do [ -n "$i" ] || continue [ -d "$NEWROOT$i" ] || [ -L "$NEWROOT$i" -o -x "$NEWROOT$i" ] && { INIT="$i"; break; } done -- 2.7.4