-
-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/playbook/Executables/AtlasModules/Scripts/serviceWarning.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
goto main | ||
|
||
---------------------------------------- | ||
|
||
[FEATURES] | ||
- Reusable warning for the user if a script modifies services and notifies of possible breakage. | ||
|
||
[USAGE] | ||
call serviceWarning.cmd [optional:specific comment for service breakage, use quotes] | ||
|
||
---------------------------------------- | ||
|
||
:main | ||
echo ------------------------------------------------------ | ||
echo WARNING: This script will modify system services. | ||
echo Modifying services can lead to potential breakage of features and bugs. | ||
echo Proceed with caution, and refer to Atlas docs for more information! | ||
if not "%~1"=="" echo Specific Note: %~1 | ||
echo ------------------------------------------------------ | ||
pause |