|
Revision 6f2d1b84131b0a9039562dbd96dbd27e0079f287, 0.5 KB
(checked in by H. Peter Anvin <hpa@…>, 22 months ago)
|
|
core: don't hang if no config file is found
If we can't find a configuration file, we need to do something
slightly more friendly than hanging.
Reported-by: Sebastian Herbszt <herbszt@…>
Signed-off-by: H. Peter Anvin <hpa@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | ; |
|---|
| 2 | ; extern.inc |
|---|
| 3 | ; |
|---|
| 4 | ; Prototypes for external functions |
|---|
| 5 | |
|---|
| 6 | %ifndef EXTERN_INC |
|---|
| 7 | %define EXTERN_INC |
|---|
| 8 | |
|---|
| 9 | ; rllpack.c |
|---|
| 10 | extern rllpack, rllunpack |
|---|
| 11 | |
|---|
| 12 | ; fs.c |
|---|
| 13 | extern fs_init, pm_searchdir, getfssec, getfsbytes |
|---|
| 14 | extern pm_mangle_name, pm_load_config |
|---|
| 15 | extern pm_open_file, pm_close_file |
|---|
| 16 | extern SectorSize, SectorShift |
|---|
| 17 | |
|---|
| 18 | ; chdir.c |
|---|
| 19 | extern pm_realpath |
|---|
| 20 | |
|---|
| 21 | ; readdir.c |
|---|
| 22 | extern opendir, readdir, closedir |
|---|
| 23 | |
|---|
| 24 | ; newconfig.c |
|---|
| 25 | extern pm_is_config_file |
|---|
| 26 | |
|---|
| 27 | %if IS_PXELINUX |
|---|
| 28 | ; pxe.c |
|---|
| 29 | extern unload_pxe, reset_pxe |
|---|
| 30 | %endif |
|---|
| 31 | |
|---|
| 32 | %endif ; EXTERN_INC |
|---|