Copyright
This commit is contained in:
parent
bf811c226d
commit
1bdb2ad075
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
set -e
|
||||||
|
|
||||||
[[ -z "${1}" ]] && \
|
[[ -z "${1}" ]] && \
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
# 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
|
# 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
|
# E.g. game is set to run on port 100, then ports 100-104 need to be opened
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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() {
|
usage() {
|
||||||
printf "%s\n" \
|
printf "%s\n" \
|
||||||
"Usage: $(basename "${0}") -s <server id> -n | $(basename "${0}") -s <server id> -u <steam username>
|
"Usage: $(basename "${0}") -s <server id> -n | $(basename "${0}") -s <server id> -u <steam username>
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
set +e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -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 sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
#!/bin/bash --posix
|
#!/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 ###
|
### Minecraft Ports ###
|
||||||
# Game ports 12000 - 12099
|
# Game ports 12000 - 12099
|
||||||
# Query ports 12100 - 12199
|
# Query ports 12100 - 12199
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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 ###
|
### CONSTANTS ###
|
||||||
|
|
||||||
#gigabytes
|
#gigabytes
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/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_rgb() {
|
||||||
# Echo a colored string to the terminal based on rgb values
|
# Echo a colored string to the terminal based on rgb values
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/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 --zone=public --add-port=13000-13299/tcp --permanent
|
||||||
firewall-cmd --reload
|
firewall-cmd --reload
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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 ###
|
### PORTS ###
|
||||||
# GAME PORT RANGE: 13000-13099
|
# GAME PORT RANGE: 13000-13099
|
||||||
# QUERY PORT RANGE: 13100-13199
|
# QUERY PORT RANGE: 13100-13199
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash --posix
|
#!/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() {
|
usage() {
|
||||||
# Print out usage instructions for the local script
|
# Print out usage instructions for the local script
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/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() {
|
check_root() {
|
||||||
[[ "$(id -u)" = 0 ]] || (echo "Root permissions required, exiting" && exit 1)
|
[[ "$(id -u)" = 0 ]] || (echo "Root permissions required, exiting" && exit 1)
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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() {
|
confirmation() {
|
||||||
# Receive confirmation from user as y, Y, n, or N
|
# Receive confirmation from user as y, Y, n, or N
|
||||||
# returns 0 when answer is yes and 1 when answer is no
|
# returns 0 when answer is yes and 1 when answer is no
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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_rgb() {
|
||||||
# Echo a colored string to the terminal based on rgb values
|
# Echo a colored string to the terminal based on rgb values
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash --posix
|
#!/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
|
set -e
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/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 () {
|
rgb () {
|
||||||
# Echo a color printf to the terminal awaiting an actual echo to be colored
|
# Echo a color printf to the terminal awaiting an actual echo to be colored
|
||||||
# should be used with reset after coloring a string
|
# should be used with reset after coloring a string
|
||||||
|
Loading…
Reference in New Issue
Block a user