>From 5e043b9fd529b1cfb0358a69f263b84620ffbd1b Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@xxxxxxxxxx> Date: Wed, 4 Mar 2009 13:45:21 +0100 Subject: [PATCH] strip "init=" from INIT --- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init b/init index 581c2b9..9605141 100755 --- a/init +++ b/init @@ -90,7 +90,7 @@ ln -s "$root" /dev/root fstype="$(getarg rootfstype)" && fstype="-t ${fstype#rootfstype=}" mount $fstype -o $rflags /dev/root $NEWROOT || emergency_shell -INIT=$(getarg init) +INIT=$(getarg init); INIT=${INIT#init=} [ "$INIT" ] || { for i in /sbin/init /etc/init /init /bin/sh; do [ -x "$NEWROOT$i" ] && { INIT="$i"; break; } -- 1.6.0.6