diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-31 16:44:10 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-31 16:45:30 +0100 |
commit | 24e70ac3ff167f0d8342e57252fc737083ae02ab (patch) | |
tree | 3a2e1337e3590e9cf7aa51099c1a3a4ea35383cb | |
parent | bff3d1dc9d7c83da14d03f6bf85b4ad7f4f62e9b (diff) |
use grub2 template for GET /mode to list boot modes
-rw-r--r-- | src/rest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1140,10 +1140,10 @@ static int og_get_boot_modes(struct list_head *boot_mode_list) struct dirent *dent; DIR *d; - d = opendir(OG_TFTP_TMPL_PATH); + d = opendir(OG_TFTP_TMPL_PATH_UEFI); if (!d) { syslog(LOG_ERR, "Cannot open directory %s (%s:%d)\n", - OG_TFTP_TMPL_PATH, __func__, __LINE__); + OG_TFTP_TMPL_PATH_UEFI, __func__, __LINE__); return -1; } |