Copyright
This commit is contained in:
parent
bf811c226d
commit
1bdb2ad075
@ -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}" ]] && \
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user