summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-02-23 16:03:20 -0500
committerChris Lumens <clumens@redhat.com>2011-04-12 09:49:27 -0400
commit7605892343d79fb1bf2ba20e69ea1874b5c11715 (patch)
tree913266dfdce5f3a69da334377f6f469cbaa92aa3 /loader/init.c
parenta610f94590c66fcb17422c6c70d3d3e623f3a68c (diff)
downloadanaconda-7605892343d79fb1bf2ba20e69ea1874b5c11715.tar.gz
anaconda-7605892343d79fb1bf2ba20e69ea1874b5c11715.tar.xz
anaconda-7605892343d79fb1bf2ba20e69ea1874b5c11715.zip
loader doesn't support arguments except from /proc/cmdline.
This gets rid of all the argument parsing code in init, loader support for reading args in some sort of test mode, and hopefully the last of the bogl support.
Diffstat (limited to 'loader/init.c')
-rw-r--r--loader/init.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/loader/init.c b/loader/init.c
index 53d46a093..0c441e9b8 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -76,8 +76,6 @@ static int getSyslog(gchar **, gchar **);
static int onQEMU(void);
struct termios ts;
-static GHashTable *cmdline = NULL;
-
static void printstr(char * string) {
write(1, string, strlen(string));
}
@@ -390,14 +388,6 @@ int main(int argc, char **argv) {
printf("anaconda installer init version %s starting\n", VERSION);
- cmdline = readvars_parse_file("/proc/cmdline");
-
- /* check for development mode early */
- if (g_hash_table_lookup_extended(cmdline, "devel", NULL, &value)) {
- printf("Enabling development mode - cores will be dumped\n");
- isDevelMode = TRUE;
- }
-
/* these args are only for testing from commandline */
for (i = 1; i < argc; i++) {
if (!strcmp (argv[i], "serial")) {
@@ -552,10 +542,6 @@ int main(int argc, char **argv) {
*argvp++ = console;
}
- if (isDevelMode) {
- *argvp++ = "--devel";
- }
-
*argvp++ = NULL;
printf("running %s\n", argvc[0]);