aboutsummaryrefslogtreecommitdiffstats
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.c6
1 files changed, 6 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..73ce89c
--- /dev/null
+++ b/grub-core/commands/search_file.c
@@ -0,0 +1,6 @@
+#define DO_SEARCH_FILE 1
+#define FUNC_NAME grub_search_fs_file
+#define COMMAND_NAME "search.file"
+#define SEARCH_TARGET "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"