8 * Standard version of load_config for extlinux/syslinux filesystems.
10 * This searches for extlinux.conf and syslinux.cfg in the install
11 * directory, followed by a set of fallback directories. If found,
12 * set the current working directory to match.
14 int generic_open_config(struct com32_filedata
*filedata
)
16 static const char *search_directories
[] = {
17 NULL
, /* CurrentDirName */
23 static const char *filenames
[] = {
29 search_directories
[0] = CurrentDirName
;
31 dprintf("CurrentDirName: \"%s\"\n", CurrentDirName
);
33 return search_dirs(filedata
, search_directories
, filenames
, ConfigName
);