\n";
$boot = &find_value("boot", $conf);
print " $text{'global_boot'} | \n";
printf " $text{'global_root'}\n",
$boot ? "" : "checked";
printf "\n",
$boot ? "checked" : "";
print &foreign_call("fdisk", "partition_select", "boot", $boot, 2);
print " | \n";
$default = &find_value("default", $conf);
print " $text{'global_default'} | \n";
printf " $text{'global_first'}\n",
$default ? "" : "checked";
printf "\n",
$default ? "checked" : "";
print " | \n";
$prompt = &find("prompt", $conf);
print " $text{'global_prompt'} | \n";
printf " $text{'yes'}\n",
$prompt ? "checked" : "";
printf " $text{'no'} | \n",
$prompt ? "" : "checked";
$timeout = &find_value("timeout", $conf);
print "$text{'global_timeout'} | \n";
printf " %s\n",
$timeout ? "" : "checked", $text{'global_forever'};
printf "\n",
$timeout ? "checked" : "";
printf " $text{'global_secs'} | \n",
$timeout ? $timeout / 10.0 : "";
$lock = &find("lock", $conf);
print " $text{'global_lock'} | \n";
printf " $text{'yes'}\n",
$lock ? "checked" : "";
printf " $text{'no'} | \n",
$lock ? "" : "checked";
$delay = &find_value("delay", $conf);
print "$text{'global_delay'} | \n";
printf " $text{'global_imm'}\n",
$delay ? "" : "checked";
printf "\n",
$delay ? "checked" : "";
printf " $text{'global_secs'} | \n",
$delay ? $delay / 10.0 : "";
$compact = &find("compact", $conf);
print " $text{'global_compact'} | \n";
printf " $text{'yes'}\n",
$compact ? "checked" : "";
printf " $text{'no'} | \n",
$compact ? "" : "checked";
$optional = &find("optional", $conf);
print "$text{'global_optional'} | \n";
printf " $text{'yes'}\n",
$optional ? "checked" : "";
printf " $text{'no'} | \n",
$optional ? "" : "checked";
$password = &find_value("password", $conf);
print " $text{'global_password'} | \n";
printf " $text{'global_none'}\n",
$password ? "" : "checked";
printf "\n",
$password ? "checked" : "";
print " | \n";
$restricted = &find("restricted", $conf);
printf " $text{'global_restricted'} | \n";
printf " %s\n",
$restricted ? "checked" : "", $text{'global_extra'};
printf " %s | \n",
$restricted ? "" : "checked", $text{'global_any'};
if ($lilo_version >= 21.3) {
$lba = &find("lba32", $conf);
print " $text{'global_lba'} | \n";
printf " $text{'yes'}\n",
$lba ? "checked" : "";
printf " $text{'no'} | \n",
$lba ? "" : "checked";
}
print " |