diff --git a/CentOS/Arma/Arma-Connect-Server.bash b/CentOS/Arma/Arma-Connect-Server.bash index ef22eca..0b67b87 100755 --- a/CentOS/Arma/Arma-Connect-Server.bash +++ b/CentOS/Arma/Arma-Connect-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e [[ -z "${1}" ]] && \ diff --git a/CentOS/Arma/Arma-Open-Ports.bash b/CentOS/Arma/Arma-Open-Ports.bash index 6d08652..7931599 100755 --- a/CentOS/Arma/Arma-Open-Ports.bash +++ b/CentOS/Arma/Arma-Open-Ports.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + # To add additional ports for Arma you need to have 5 ports open as a range # Arma offsets from the first port and increments upwards until 5 ports are open # E.g. game is set to run on port 100, then ports 100-104 need to be opened diff --git a/CentOS/Arma/Arma-Start-Server.bash b/CentOS/Arma/Arma-Start-Server.bash index bb02e92..bbd8ad9 100755 --- a/CentOS/Arma/Arma-Start-Server.bash +++ b/CentOS/Arma/Arma-Start-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + usage() { printf "%s\n" \ "Usage: $(basename "${0}") -s -n | $(basename "${0}") -s -u diff --git a/CentOS/Arma/Mods/Arma-Install-Mod.bash b/CentOS/Arma/Mods/Arma-Install-Mod.bash index 095517f..532424e 100755 --- a/CentOS/Arma/Mods/Arma-Install-Mod.bash +++ b/CentOS/Arma/Mods/Arma-Install-Mod.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set +e usage() { diff --git a/CentOS/Arma/Mods/Arma-Parse-Modlist.py b/CentOS/Arma/Mods/Arma-Parse-Modlist.py index 52c3f1d..428f354 100644 --- a/CentOS/Arma/Mods/Arma-Parse-Modlist.py +++ b/CentOS/Arma/Mods/Arma-Parse-Modlist.py @@ -1,3 +1,15 @@ +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + import sys import subprocess diff --git a/CentOS/Minecraft/Minecraft-Connect-Server.bash b/CentOS/Minecraft/Minecraft-Connect-Server.bash index 050bcac..93d86b2 100755 --- a/CentOS/Minecraft/Minecraft-Connect-Server.bash +++ b/CentOS/Minecraft/Minecraft-Connect-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e usage() { diff --git a/CentOS/Minecraft/Minecraft-Open-Ports.bash b/CentOS/Minecraft/Minecraft-Open-Ports.bash index a18dc8f..8023ba3 100755 --- a/CentOS/Minecraft/Minecraft-Open-Ports.bash +++ b/CentOS/Minecraft/Minecraft-Open-Ports.bash @@ -1,6 +1,13 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + ### Minecraft Ports ### # Game ports 12000 - 12099 # Query ports 12100 - 12199 diff --git a/CentOS/Minecraft/Minecraft-Start-Server.bash b/CentOS/Minecraft/Minecraft-Start-Server.bash index c44bfac..ddf072e 100755 --- a/CentOS/Minecraft/Minecraft-Start-Server.bash +++ b/CentOS/Minecraft/Minecraft-Start-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + ### CONSTANTS ### #gigabytes diff --git a/CentOS/Minecraft/Minecraft-Stop-Server.bash b/CentOS/Minecraft/Minecraft-Stop-Server.bash index b5a41fb..11b72da 100755 --- a/CentOS/Minecraft/Minecraft-Stop-Server.bash +++ b/CentOS/Minecraft/Minecraft-Stop-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e usage() { diff --git a/CentOS/Squad/Squad-Connect-Server.bash b/CentOS/Squad/Squad-Connect-Server.bash index 29004d4..ad3569a 100755 --- a/CentOS/Squad/Squad-Connect-Server.bash +++ b/CentOS/Squad/Squad-Connect-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e usage() { diff --git a/CentOS/Squad/Squad-Install-Server.bash b/CentOS/Squad/Squad-Install-Server.bash index 41d2f75..2d6412e 100755 --- a/CentOS/Squad/Squad-Install-Server.bash +++ b/CentOS/Squad/Squad-Install-Server.bash @@ -1,6 +1,13 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + echo_rgb() { # Echo a colored string to the terminal based on rgb values # diff --git a/CentOS/Squad/Squad-Open-Ports.bash b/CentOS/Squad/Squad-Open-Ports.bash index e2d79bc..c209748 100755 --- a/CentOS/Squad/Squad-Open-Ports.bash +++ b/CentOS/Squad/Squad-Open-Ports.bash @@ -1,4 +1,11 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + firewall-cmd --zone=public --add-port=13000-13299/tcp --permanent firewall-cmd --reload \ No newline at end of file diff --git a/CentOS/Squad/Squad-Start-Server.bash b/CentOS/Squad/Squad-Start-Server.bash index 52ac444..bbec20d 100755 --- a/CentOS/Squad/Squad-Start-Server.bash +++ b/CentOS/Squad/Squad-Start-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + ### PORTS ### # GAME PORT RANGE: 13000-13099 # QUERY PORT RANGE: 13100-13199 diff --git a/CentOS/Squad/Squad-Stop-Server.bash b/CentOS/Squad/Squad-Stop-Server.bash index 69e0eac..cd7f38c 100755 --- a/CentOS/Squad/Squad-Stop-Server.bash +++ b/CentOS/Squad/Squad-Stop-Server.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e usage() { diff --git a/Templates/Functions/Arg-Parsing.bash b/Templates/Functions/Arg-Parsing.bash index d4ac222..9e0e582 100755 --- a/Templates/Functions/Arg-Parsing.bash +++ b/Templates/Functions/Arg-Parsing.bash @@ -1,5 +1,11 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# usage() { # Print out usage instructions for the local script diff --git a/Templates/Functions/Check-Root.bash b/Templates/Functions/Check-Root.bash index 380c474..8eeb073 100755 --- a/Templates/Functions/Check-Root.bash +++ b/Templates/Functions/Check-Root.bash @@ -1,6 +1,13 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + check_root() { [[ "$(id -u)" = 0 ]] || (echo "Root permissions required, exiting" && exit 1) } diff --git a/Templates/Functions/Confirmation.bash b/Templates/Functions/Confirmation.bash index dcf458b..a7a1cb3 100755 --- a/Templates/Functions/Confirmation.bash +++ b/Templates/Functions/Confirmation.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + confirmation() { # Receive confirmation from user as y, Y, n, or N # returns 0 when answer is yes and 1 when answer is no diff --git a/Templates/Functions/Logging/Logging-RGB.bash b/Templates/Functions/Logging/Logging-RGB.bash index 0d48062..ce3375d 100755 --- a/Templates/Functions/Logging/Logging-RGB.bash +++ b/Templates/Functions/Logging/Logging-RGB.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + echo_rgb() { # Echo a colored string to the terminal based on rgb values # diff --git a/Templates/Functions/Logging/Logging.bash b/Templates/Functions/Logging/Logging.bash index c9f5741..df28d00 100755 --- a/Templates/Functions/Logging/Logging.bash +++ b/Templates/Functions/Logging/Logging.bash @@ -1,5 +1,12 @@ #!/bin/bash --posix +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + set -e log() { diff --git a/Templates/Functions/RGB-Terminal-Colors.bash b/Templates/Functions/RGB-Terminal-Colors.bash index c3d56d5..ab51999 100755 --- a/Templates/Functions/RGB-Terminal-Colors.bash +++ b/Templates/Functions/RGB-Terminal-Colors.bash @@ -1,5 +1,12 @@ #!/bin/bash +# Copyright 2021, Price Hiller - All Rights Reserved +# +# Copying, distribution, usage, or modification of this file or the following source code, via any +# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com) +# The following file contains proprietary and confidential content +# + rgb () { # Echo a color printf to the terminal awaiting an actual echo to be colored # should be used with reset after coloring a string