summaryrefslogtreecommitdiffstats
path: root/defaultenv/defaultenv-2-menu/menu/boot-entries-remove
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv/defaultenv-2-menu/menu/boot-entries-remove')
-rw-r--r--defaultenv/defaultenv-2-menu/menu/boot-entries-remove18
1 files changed, 18 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-menu/menu/boot-entries-remove b/defaultenv/defaultenv-2-menu/menu/boot-entries-remove
new file mode 100644
index 0000000..566be9d
--- /dev/null
+++ b/defaultenv/defaultenv-2-menu/menu/boot-entries-remove
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+export menu_exit=false
+
+while true; do
+ menu -a -m boot_entries_remove -d "\e[1;36mRemove Boot entry\e[0m"
+
+ boot-entries-collect
+
+ menu -e -a -m boot_entries_remove -c "menu_exit=true" -d "back"
+
+ menu -s -m boot_entries_remove
+ menu -r -m boot_entries_remove
+
+ if [ $menu_exit = true ]; then
+ exit
+ fi
+done