mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Build Error gefixt, config types gefixt, root partition auf 1GB
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@591 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -406,7 +406,7 @@ int main(int argc, char *argv[])
|
||||
boot_partition = 20; /* in MB */
|
||||
current_free = maximum_free - boot_partition - swap_file;
|
||||
|
||||
root_partition = 2048 ;
|
||||
root_partition = 1024 ;
|
||||
if (current_free < 512) {
|
||||
errorbox(ctr[TR_DISK_TOO_SMALL]);
|
||||
goto EXIT;
|
||||
|
||||
@@ -154,7 +154,7 @@ int oktoleave(char *errormessage)
|
||||
}
|
||||
|
||||
strcpy(temp, "0"); findkey(kv, "CONFIG_TYPE", temp); configtype = atol(temp);
|
||||
if (configtype < 0 || configtype > 7) configtype = 0;
|
||||
if (configtype < 1 || configtype > 4) configtype = 0;
|
||||
|
||||
if (HAS_BLUE)
|
||||
{
|
||||
@@ -236,7 +236,7 @@ int firstmenu(void)
|
||||
strcpy(networkrestart, ctr[TR_RESTART_REQUIRED]);
|
||||
|
||||
strcpy(temp, ""); findkey(kv, "CONFIG_TYPE", temp); x = atol(temp);
|
||||
if (x < 0 || x > 7) x = 0;
|
||||
if (x < 1 || x > 4) x = 0;
|
||||
/* Format heading bit. */
|
||||
snprintf(message, 1000, ctr[TR_CURRENT_CONFIG], configtypenames[x],
|
||||
networkrestart);
|
||||
|
||||
@@ -38,6 +38,8 @@ my %mbmon_settings = ();
|
||||
use Encode 'from_to';
|
||||
my %tr=();
|
||||
|
||||
system("chmod 777 /srv/web/ipfire/html/graphs");
|
||||
|
||||
# Force language back to English (ugly hack!)
|
||||
# Modified to only force if we are unable to convert charset
|
||||
# from utf-8
|
||||
|
||||
Reference in New Issue
Block a user