summaryrefslogtreecommitdiffstats
path: root/defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry')
-rw-r--r--defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry5
1 files changed, 5 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry b/defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry
new file mode 100644
index 0000000..f06c524
--- /dev/null
+++ b/defaultenv/defaultenv-2-menu/menu/boot-menu-add-entry
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+menu -e -a -m boot -c "boot -v $1; echo; readline \"press enter to continue\" a " -d "Boot: ${GREEN}$2${NC}"
+menu -e -a -m boot_entries_edit -c "$global.editcmd /env/boot/$1" -d "${GREEN}$2${NC}"
+menu -e -a -m boot_entries_remove -c "rm /env/boot/$1" -d "${GREEN}$2${NC}"