From df87106417b27298fe7e0b69b6253ee7ffcb472d Mon Sep 17 00:00:00 2001 From: octolinkyt Date: Thu, 23 Apr 2026 09:47:16 -0400 Subject: [PATCH] Upload files to "/" --- lsnobs.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lsnobs.bat diff --git a/lsnobs.bat b/lsnobs.bat new file mode 100644 index 0000000..834afd9 --- /dev/null +++ b/lsnobs.bat @@ -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