moved files to the .local folder.

This commit is contained in:
Llewellyn van der Merwe 2021-07-27 14:36:00 +00:00
parent a3b66494ae
commit 7f4da4a3e8
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 8 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function main () {
############################################################## ##############################################################
Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" ) Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" )
VDMUSER=$(whoami) VDMUSER=$(whoami)
VDMHOME=~/ VDMHOME=~/.local/dynamic-ip
VDMSCRIPT="${REPOURL}$ACTION.sh" VDMSCRIPT="${REPOURL}$ACTION.sh"
VDMSERVERKEY='' VDMSERVERKEY=''
TRUE=1 TRUE=1
@ -70,6 +70,9 @@ FALSE=0
HOSTIP='' HOSTIP=''
THEIPS='' THEIPS=''
###### Make sure the local folder is created #################
mkdir -p "$VDMHOME"
############################################################## ##############################################################
############## ########## ############## ##########
############## FUNCTIONS ########## ############## FUNCTIONS ##########

View File

@ -58,11 +58,14 @@ function main () {
############################################################## ##############################################################
Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" ) Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" )
VDMUSER=$(whoami) VDMUSER=$(whoami)
VDMHOME=~/ VDMHOME=~/.local/dynamic-ip
VDMSCRIPT="${REPOURL}$ACTION.sh" VDMSCRIPT="${REPOURL}$ACTION.sh"
VDMSERVERKEY='' VDMSERVERKEY=''
TRUE=1 TRUE=1
###### Make sure the local folder is created #################
mkdir -p "$VDMHOME"
############################################################## ##############################################################
############## ########## ############## ##########
############## FUNCTIONS ########## ############## FUNCTIONS ##########