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