Beta der Netzwerkdialoge.

Ueberfluessige Buildscripts noch geloescht.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@484 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-04-05 19:25:59 +00:00
parent 60124059ba
commit 75ae219180
11 changed files with 468 additions and 989 deletions

View File

@@ -48,14 +48,12 @@ int networkmenu(struct keyvalue *ethernetkv)
errorbox(ctr[TR_PROBE_FAILED]);
else
{
findnicdescription(driver, description);
//findnicdescription(driver, description);
sprintf (title, "%s v%s - %s", NAME, VERSION, SLOGAN);
sprintf(message, ctr[TR_FOUND_NIC], NAME, description);
newtWinMessage(title, ctr[TR_OK], message);
}
}
else if (rc == 2)
choosecards(driver, driveroptions);
}
else
done = 1;
@@ -70,8 +68,6 @@ int networkmenu(struct keyvalue *ethernetkv)
/* Smoothie is not untarred yet, so we have to delay actually writing the
* settings till later. */
replacekeyvalue(ethernetkv, "CONFIG_TYPE", "0");
replacekeyvalue(ethernetkv, "GREEN_DRIVER", driver);
replacekeyvalue(ethernetkv, "GREEN_DRIVER_OPTIONS", driveroptions);
replacekeyvalue(ethernetkv, "GREEN_DEV", "eth0");
replacekeyvalue(ethernetkv, "GREEN_DISPLAYDRIVER", driver);

View File

@@ -3,4 +3,4 @@
hwinfo --netcard | egrep "Model|HW Address" | \
awk -F": " '{ print $2 }' | sed -e '/..:..:..:..:..:../a\\' -e "s/$/\;/g" | \
tr "\n" "XX" | sed -e "s/XX/\n/g" -e "s/\;X/\;/g" | \
sort > /tmp/scanned_nics 2>/dev/null
sort > /var/ipfire/ethernet/scanned_nics 2>/dev/null