summaryrefslogtreecommitdiffstats
path: root/discover/grub2/builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2/builtins.c')
-rw-r--r--discover/grub2/builtins.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/discover/grub2/builtins.c b/discover/grub2/builtins.c
index 71ae61a..c218bc7 100644
--- a/discover/grub2/builtins.c
+++ b/discover/grub2/builtins.c
@@ -259,6 +259,10 @@ static int builtin_nop(struct grub2_script *script __attribute__((unused)),
extern int builtin_load_env(struct grub2_script *script,
void *data __attribute__((unused)),
int argc, char *argv[]);
+int builtin_save_env(struct grub2_script *script,
+ void *data __attribute__((unused)),
+ int argc, char *argv[]);
+
static struct {
const char *name;
@@ -304,6 +308,10 @@ static struct {
.name = "load_env",
.fn = builtin_load_env,
},
+ {
+ .name = "save_env",
+ .fn = builtin_save_env,
+ },
};
static const char *nops[] = {
OpenPOWER on IntegriCloud