summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-06-18 06:08:18 +0000
committerJeremy Katz <katzj@redhat.com>2004-06-18 06:08:18 +0000
commit00551da8f892d2a944622348aa1180603435e1c1 (patch)
tree0ed99e88571f7fee7a4af3bbaf1d9dff60ece53b
parent1e928416a431fc9c127aa4c1044c6908cd04752d (diff)
downloadanaconda-00551da8f892d2a944622348aa1180603435e1c1.tar.gz
anaconda-00551da8f892d2a944622348aa1180603435e1c1.tar.xz
anaconda-00551da8f892d2a944622348aa1180603435e1c1.zip
boot command line support for essid and wepkey too
-rw-r--r--loader2/loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index d879cb432..a29fcf86b 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -568,6 +568,10 @@ static int parseCmdLineFlags(int flags, struct loaderData_s * loaderData,
loaderData->dns = strdup(argv[i] + 4);
else if (!strncasecmp(argv[i], "ethtool=", 8))
loaderData->ethtool = strdup(argv[i] + 8);
+ else if (!strncasecmp(argv[i], "essid=", 6))
+ loaderData->essid = strdup(argv[i] + 6);
+ else if (!strncasecmp(argv[i], "wepkey=", 7))
+ loaderData->wepkey = strdup(argv[i] + 7);
else if (!strncasecmp(argv[i], "linksleep=", 10))
num_link_checks = atoi(argv[i] + 10);
else if (!strncasecmp(argv[i], "allowcddma", 10))