mirror of
https://github.com/fspc/gbootroot.git
synced 2026-09-11 06:11:38 -04:00
Improves the mtd_init regexp even more.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user