make bootinst script universal for LiveKit, not slax specific
This commit is contained in:
+4
-11
@@ -1,14 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
cls
|
cls
|
||||||
echo ===============================================================================
|
echo ===============================================================================
|
||||||
echo.
|
echo Setting your drive to boot
|
||||||
echo ________.__
|
|
||||||
echo / ____/^| ^| _____ ___ ___
|
|
||||||
echo \____ \ ^| ^| \__ \ \ \/ /
|
|
||||||
echo / \^| ^|__/ __ \_^> ^<
|
|
||||||
echo /______ /^|____(____ /__/\_ \
|
|
||||||
echo \/ \/ \/
|
|
||||||
echo.
|
|
||||||
echo ===============================================================================
|
echo ===============================================================================
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@@ -18,8 +11,8 @@ set BOOTFLAG=boot666s.tmp
|
|||||||
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
|
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
|
||||||
if not exist \%BOOTFLAG% goto readOnly
|
if not exist \%BOOTFLAG% goto readOnly
|
||||||
|
|
||||||
echo.|set /p=wait please
|
echo wait please ...
|
||||||
for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do echo.|set /p=. & if exist %%d:\%BOOTFLAG% set DISK=%%d
|
for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%d:\%BOOTFLAG% set DISK=%%d
|
||||||
del \%BOOTFLAG%
|
del \%BOOTFLAG%
|
||||||
if %DISK% == none goto DiskNotFound
|
if %DISK% == none goto DiskNotFound
|
||||||
|
|
||||||
@@ -41,7 +34,7 @@ echo Installation finished.
|
|||||||
goto pauseit
|
goto pauseit
|
||||||
|
|
||||||
:readOnly
|
:readOnly
|
||||||
echo You're starting Slax installer from a read-only media, this will not work.
|
echo You're starting boot installer from a read-only media, this will not work.
|
||||||
goto pauseit
|
goto pauseit
|
||||||
|
|
||||||
:DiskNotFound
|
:DiskNotFound
|
||||||
|
|||||||
Reference in New Issue
Block a user