Browse Source

This only checks Root_Fs for $ubd0, which makes a lot more sense and avoides

unecessary duplications.
master
freesource 23 years ago
parent
commit
59c8a5333e
  1. 23
      BootRoot/BootRoot.pm

23
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

Loading…
Cancel
Save