Inital Commit

This commit is contained in:
2023-03-16 23:54:00 +01:00
commit 13ee0ecb2e
11 changed files with 227 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
@ECHO OFF
TITLE Power menu
REM load needed var(s)
set /p SetupFound=<%TEMP%\SetupFound.var
IF %SetupFound% == FALSE (
echo Setup not found
pause
)
:PowerMenu
ECHO\
ECHO ...............................................
ECHO PRESS 1 to poweroff, or 2 to reboot
ECHO ...............................................
ECHO\
ECHO 1 - Poweroff
ECHO 2 - Reboot
ECHO\
SET /P M=Type 1 or 2 then press ENTER:
IF %M%==1 wpeutil shutdown
IF %M%==2 wpeutil reboot
GOTO PowerMenu