1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-04-04 07:43:22 -04: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
if ( $mtd_radio_blkmtd->get_active() ) {
if ( m,(ubd\d{1}\w?=[/\d\.\+\w-]+), ) {
@ -1841,17 +1853,8 @@ 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);