projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2415f4
)
base/init: honor old "real_init="
author
Harald Hoyer
<harald@redhat.com>
Fri, 19 Nov 2010 12:37:17 +0000
(13:37 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 19 Nov 2010 12:37:17 +0000
(13:37 +0100)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
f79d102
..
6557cf4
100755
(executable)
--- 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