mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
505 B
26 lines
505 B
// SPDX-License-Identifier: GPL-2.0 |
|
/* |
|
* Copyright (C) 2002 Jeff Dike ([email protected]) |
|
*/ |
|
|
|
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <init.h> |
|
|
|
static __initdata const char *config[] = { |
|
"CONFIG" |
|
}; |
|
|
|
static int __init print_config(char *line, int *add) |
|
{ |
|
int i; |
|
for (i = 0; i < sizeof(config)/sizeof(config[0]); i++) |
|
printf("%s", config[i]); |
|
exit(0); |
|
} |
|
|
|
__uml_setup("--showconfig", print_config, |
|
"--showconfig\n" |
|
" Prints the config file that this UML binary was generated from.\n\n" |
|
); |
|
|
|
|