summaryrefslogtreecommitdiffstats
path: root/grub-core/commands/search_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'grub-core/commands/search_file.c')
-rw-r--r--grub-core/commands/search_file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/grub-core/commands/search_file.c b/grub-core/commands/search_file.c
new file mode 100644
index 0000000..cc2a5f9
--- /dev/null
+++ b/grub-core/commands/search_file.c
@@ -0,0 +1,5 @@
+#define DO_SEARCH_FILE 1
+#define FUNC_NAME grub_search_fs_file
+#define COMMAND_NAME "search.file"
+#define HELP_MESSAGE N_("Search devices by file. If VARIABLE is specified, the first device found is set to a variable.")
+#include "search.c"