mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-04 19:11:27 +02:00
Padlock-Modul aktiviert fuer VIA Epia Boards
FAT Dateisystem fuer "Europa" angepasst Netzwerkerkennung durchgearbeitet git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@485 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Starting hardware detection
|
||||
runcommandwithstatus("/bin/probehw.sh", ctr[TR_PROBING_HARDWARE]);
|
||||
runcommandwithstatus("/bin/probenic.sh install", ctr[TR_PROBING_HARDWARE]);
|
||||
|
||||
/* CDROM INSTALL */
|
||||
if (installtype == CDROM_INSTALL) {
|
||||
@@ -617,8 +618,12 @@ EXIT:
|
||||
fclose(flog);
|
||||
|
||||
if (!unattended) {
|
||||
// Copy our scanned nics to the disk and lock because scan doesn't work in chroot
|
||||
system("touch /harddisk/var/ipfire/ethernet/scan_lock");
|
||||
system("cp -f /tmp/scanned_nics /harddisk/var/ipfire/ethernet/scanned_nics");
|
||||
if (system("/sbin/chroot /harddisk /usr/local/sbin/setup /dev/tty2 INSTALL"))
|
||||
printf("Unable to run setup.\n");
|
||||
system("rm -f /harddisk/var/ipfire/ethernet/scan_lock");
|
||||
}
|
||||
|
||||
if (system("/bin/umount /harddisk/proc"))
|
||||
|
||||
Reference in New Issue
Block a user