From 63dc15fe8e56554763c4a58fdfecd527793b6378 Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 11 Mar 2002 03:16:23 +0000 Subject: [PATCH] Improves the mtd_init regexp even more. --- BootRoot/BootRoot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index d929431..eb6ea76 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -1807,7 +1807,7 @@ sub uml_box { } # Find which runlevel or whether mtd_init is being used - if ( m,(mtd_init=[/\d\w\'\"-]+\s?\d?)"?, ) { + if ( m,(mtd_init=[/\d\w\'\"-]+\s?\d?)[\"\']?, ) { $init = (split(/=/,$1))[1]; chomp $init; $init =~ s/\"//g;