This commit is contained in:
2023-11-20 06:25:12 -06:00
parent bc2661b93f
commit 69ec6bd7be
4 changed files with 69 additions and 12 deletions

34
modserver/globals.sh Normal file
View File

@@ -0,0 +1,34 @@
#!/bin/sh
#
# values used on both the modserver and individual servers
# ------------------------------------------------------------
################### GLOBAL VARS ##############################
export DAYZ_GAME_ID=221100
export DAYZ_SERVER_ID=223350
export STEAM_USER="yzaddayz"
export DEBUG=false
################### GLOBAL VARS ##############################
################### GLOBAL ALIASES ###########################
alias do_sync='rsync -rvltDhu --delete --partial --progress'
################### GLOBAL ALIASES ###########################
################### GLOBAL FUNCTIONS #########################
msg() {
printf '[*] %s\n' "$*"
}
errmsg() {
>&2 printf '[Error]: %s\n' "$*"
}
################### GLOBAL FUNCTIONS #########################
mount_dayz() {
sudo mount -t drvfs -o user=samba \
//truenas.local.wvr.sh/dayz /mnt/dayz
}