From ecc03b1980ab80397716def6f91dc1942bb0e341 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 7 Mar 2002 17:54:23 +0000 Subject: [PATCH] This completes the init and mtd_init recognization .. added single. --- BootRoot/BootRoot.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index 25e7506..89dc7f6 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -1806,8 +1806,9 @@ sub uml_box { $init =~ s/\'//g; $init =~ s/\///; } - elsif ( m,\s+([0-9A-CS]{1}), ) { - $init = $1; + elsif ( m,\s+([0-9A-CS]{1})|\s+(single), ) { + $init = $1 if $1; + $init = $2 if $2; chomp $init; $init = "sbin/init " . $init; }