mirror of
https://github.com/vdm-io/dynamic-ip.git
synced 2024-12-04 08:18:19 +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)" )
|
||||
VDMUSER=$(whoami)
|
||||
VDMHOME=~/
|
||||
VDMHOME=~/.local/dynamic-ip
|
||||
VDMSCRIPT="${REPOURL}$ACTION.sh"
|
||||
VDMSERVERKEY=''
|
||||
TRUE=1
|
||||
@ -70,6 +70,9 @@ FALSE=0
|
||||
HOSTIP=''
|
||||
THEIPS=''
|
||||
|
||||
###### Make sure the local folder is created #################
|
||||
mkdir -p "$VDMHOME"
|
||||
|
||||
##############################################################
|
||||
############## ##########
|
||||
############## FUNCTIONS ##########
|
||||
|
5
setip.sh
5
setip.sh
@ -58,11 +58,14 @@ function main () {
|
||||
##############################################################
|
||||
Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" )
|
||||
VDMUSER=$(whoami)
|
||||
VDMHOME=~/
|
||||
VDMHOME=~/.local/dynamic-ip
|
||||
VDMSCRIPT="${REPOURL}$ACTION.sh"
|
||||
VDMSERVERKEY=''
|
||||
TRUE=1
|
||||
|
||||
###### Make sure the local folder is created #################
|
||||
mkdir -p "$VDMHOME"
|
||||
|
||||
##############################################################
|
||||
############## ##########
|
||||
############## FUNCTIONS ##########
|
||||
|
Loading…
Reference in New Issue
Block a user