add new client=
This commit is contained in:
parent
6711fbe32e
commit
9404190324
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
source IPS
|
source IPS
|
||||||
|
|
||||||
source push-to-repo
|
|
||||||
|
|
||||||
#--------------------Input---------------------
|
#--------------------Input---------------------
|
||||||
echo -e "File Name with .conf:\r"
|
echo -e "File Name with .conf:\r"
|
||||||
|
@ -107,6 +106,19 @@ echo -ne '\n'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#---------------Pushing-to-repo-----------------
|
||||||
|
push (){
|
||||||
|
echo -e "Start Pushing To Repo:"
|
||||||
|
git add .
|
||||||
|
git commit -m "add new client= $userinput"
|
||||||
|
git push
|
||||||
|
echo -e "Done Pushing."
|
||||||
|
}
|
||||||
|
|
||||||
|
#---------------Pushing-to-repo-----------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#---------------Call-Functions-----------------
|
#---------------Call-Functions-----------------
|
||||||
echo -ne '######################### (95%)\n'
|
echo -ne '######################### (95%)\n'
|
||||||
check_ip
|
check_ip
|
||||||
|
|
13
push-to-repo
13
push-to-repo
|
@ -1,13 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#---------------Pushing-to-repo-----------------
|
|
||||||
push (){
|
|
||||||
echo -e "Start Pushing To Repo:"
|
|
||||||
git add .
|
|
||||||
git commit -m "add new client= $userinput"
|
|
||||||
git push
|
|
||||||
echo -e "Done Pushing."
|
|
||||||
}
|
|
||||||
|
|
||||||
#-----------------End--Pushing------------------
|
|
Loading…
Reference in New Issue