1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 09:03:23 -05:00

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

unecessary duplications.
This commit is contained in:
freesource 2002-03-11 17:25:01 +00:00
parent bcf2987f21
commit 59c8a5333e

View File

@ -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 # Grab the file being used
if ( $mtd_radio_blkmtd->get_active() ) { if ( $mtd_radio_blkmtd->get_active() ) {
if ( m,(ubd\d{1}\w?=[/\d\.\+\w-]+), ) { 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); my ($total_size, $fs_type, $erasure_size);
# total size # total size