2012-02-14 01:23:42 +00:00
|
|
|
diff --git a/core/fs/lib/loadconfig.c b/core/fs/lib/loadconfig.c
|
2012-02-16 23:40:31 +00:00
|
|
|
index c9652b6..8ed301e 100644
|
2012-02-14 01:23:42 +00:00
|
|
|
--- a/core/fs/lib/loadconfig.c
|
|
|
|
+++ b/core/fs/lib/loadconfig.c
|
|
|
|
@@ -10,6 +10,8 @@
|
|
|
|
* This searches for extlinux.conf and syslinux.cfg in the install
|
|
|
|
* directory, followed by a set of fallback directories. If found,
|
|
|
|
* set the current working directory to match.
|
|
|
|
+ * isolinux configuration values are added for the case where ISO
|
|
|
|
+ * content has been duplicated to a disk (typically bootable USB).
|
|
|
|
*/
|
|
|
|
int generic_load_config(void)
|
|
|
|
{
|
2012-02-16 23:40:31 +00:00
|
|
|
@@ -18,11 +20,14 @@ int generic_load_config(void)
|
2012-02-14 01:23:42 +00:00
|
|
|
"/boot/syslinux",
|
|
|
|
"/syslinux",
|
2012-02-16 23:40:31 +00:00
|
|
|
"/",
|
2012-02-14 01:23:42 +00:00
|
|
|
+ "/boot/isolinux",
|
|
|
|
+ "/isolinux",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
static const char *filenames[] = {
|
|
|
|
"extlinux.conf",
|
|
|
|
"syslinux.cfg",
|
|
|
|
+ "isolinux.cfg",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|