diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index 03209c8..7cc6439 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -1823,6 +1823,18 @@ sub uml_box { } + if ( $mtd_radio_mtdram->get_active() ) { + + # Check for the existence mem= + if ( m,mem=, ) { + $mem = 1; + } + + } + + } + + for ( $entry_advanced[10] ) { # Grab the file being used if ( $mtd_radio_blkmtd->get_active() ) { if ( m,(ubd\d{1}\w?=[/\d\.\+\w-]+), ) { @@ -1841,18 +1853,9 @@ sub uml_box { } } } - - if ( $mtd_radio_mtdram->get_active() ) { - - # Check for the existence mem= - if ( m,mem=, ) { - $mem = 1; - } - - } - } + my ($total_size, $fs_type, $erasure_size); # total size