updates
This commit is contained in:
34
modserver/globals.sh
Normal file
34
modserver/globals.sh
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user