From c63ea088fb67ba085212f2b0f658357d7a20eb75 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 21 Sep 2022 11:38:37 +0200 Subject: [PATCH] Add reboot option --- mods/live-installer/data/bin/login | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mods/live-installer/data/bin/login b/mods/live-installer/data/bin/login index 190fbc7..313f3ea 100755 --- a/mods/live-installer/data/bin/login +++ b/mods/live-installer/data/bin/login @@ -31,7 +31,8 @@ while true; do echo "Welcome to windvn!" echo "1: Fast install" echo "2: Open bash" - echo "3: Shut down" + echo "3: Reboot" + echo "4: Shut down" read -p "Choice: " CHOICE echo "" @@ -140,6 +141,11 @@ while true; do fi if [ "$CHOICE" == "3" ]; then + reboot + exit + fi + + if [ "$CHOICE" == "4" ]; then poweroff exit fi