Copyright

This commit is contained in:
Price Hiller 2021-08-04 01:21:11 -05:00
parent bf811c226d
commit 1bdb2ad075
20 changed files with 144 additions and 0 deletions

View File

@ -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}" ]] && \

View File

@ -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

View File

@ -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 <server id> -n | $(basename "${0}") -s <server id> -u <steam username>

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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() {

View File

@ -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() {

View File

@ -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
#

View File

@ -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

View File

@ -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

View File

@ -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() {

View File

@ -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

View File

@ -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)
}

View File

@ -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

View File

@ -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
#

View File

@ -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() {

View File

@ -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