Skip to content

Commit

Permalink
[cmdline] Accept and ignore "initrdfile=" command-line arguments
Browse files Browse the repository at this point in the history
Modified-by: Michael Brown <mbrown@fensystems.co.uk>
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
Luke Ledgerd authored and mcb30 committed Dec 8, 2014
1 parent 4b34cbc commit 1626ae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmdline.c
Expand Up @@ -100,6 +100,8 @@ void process_cmdline ( char *cmdline ) {
cmdline_index = strtoul ( value, &endp, 0 );
if ( *endp )
die ( "Invalid index \"%s\"\n", value );
} else if ( strcmp ( key, "initrdfile" ) == 0 ) {
/* Ignore this keyword to allow for use with syslinux */
} else if ( key == cmdline ) {
/* Ignore unknown initial arguments, which may
* be the program name.
Expand Down

0 comments on commit 1626ae3

Please sign in to comment.