Upload files to "/"
This commit is contained in:
18
lsnobs.bat
Normal file
18
lsnobs.bat
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
@echo off
|
||||||
|
REM Change the current directory to where the batch script is located
|
||||||
|
cd /d %~dp0
|
||||||
|
|
||||||
|
if exist state_on.txt (
|
||||||
|
REM Currently "On", so switch to "Off"
|
||||||
|
echo Switching Off
|
||||||
|
del state_on.txt
|
||||||
|
sc stop LSSASvc
|
||||||
|
echo Lightspeed is now OFF.
|
||||||
|
) else (
|
||||||
|
REM Currently "Off", so switch to "On"
|
||||||
|
echo Switching On
|
||||||
|
copy /b NUL state_on.txt > nul
|
||||||
|
sc start LSSASvc
|
||||||
|
echo Lightspeed is now ON.
|
||||||
|
)
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user