Add reboot option
This commit is contained in:
parent
03988f2aae
commit
c63ea088fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user