mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 09:03:23 -05:00
Improves the mtd_init regexp even more.
This commit is contained in:
parent
2e41744e08
commit
63dc15fe8e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user