mirror of
https://github.com/vdm-io/dynamic-ip.git
synced 2024-12-04 16:23:13 +00:00
moved files to the .local folder.
This commit is contained in:
parent
a3b66494ae
commit
7f4da4a3e8
5
getip.sh
5
getip.sh
@ -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 ##########
|
||||||
|
5
setip.sh
5
setip.sh
@ -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 ##########
|
||||||
|
Loading…
Reference in New Issue
Block a user