Added whatmask

Netzwerkscripts erweitert.
upnp.cgi gefixt.
Installer schreibt die Spracheinstellungen wieder.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@465 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-03-26 19:59:37 +00:00
parent 6bc302d118
commit 406f019f1d
9 changed files with 45 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ int write_lang_configs( char *lang)
/* default stuff for main/settings. */
replacekeyvalue(kv, "LANGUAGE", lang);
replacekeyvalue(kv, "HOSTNAME", SNAME);
replacekeyvalue(kv, "THEME", "ipfire");
writekeyvalues(kv, "/harddisk" CONFIG_ROOT "/main/settings");
freekeyvalues(kv);

View File

@@ -149,6 +149,7 @@ int main(int argc, char *argv[])
ctr = langtrs[choice];
strcpy(shortlangname, shortlangnames[choice]);
fprintf(flog, "Selected language: %s\n", shortlangname);
mysystem("/bin/setfont lat0-16");
@@ -499,6 +500,9 @@ int main(int argc, char *argv[])
/* Save USB controller type to modules.conf */
write_usb_modules_conf();
/* Save language und local settings */
write_lang_configs(shortlangname);
/* touch the modules.dep files */
snprintf(commandstring, STRING_SIZE,
@@ -530,7 +534,7 @@ int main(int argc, char *argv[])
replace("/harddisk/etc/fstab", "DEVICE", hdparams.devnode);
/* if we detected SCSI/USB then fixup */
mysystem("/bin/probecntrl.sh");
/* mysystem("/bin/probecntrl.sh");
if ((handle = fopen("/tmp/cntrldriver", "r")))
{
char *driver;
@@ -547,7 +551,7 @@ int main(int argc, char *argv[])
runcommandwithstatus(commandstring, ctr[TR_BUILDING_INITRD]);
mysystem("/sbin/chroot /harddisk /bin/mv /boot/grub/scsigrub.conf /boot/grub/grub.conf");
}
}
} */
if (raid_disk)
sprintf(string, "root=%sp3", hdparams.devnode);