diff --git a/gen.sh b/gen.sh old mode 100644 new mode 100755 index 1a3cc24..16df652 --- a/gen.sh +++ b/gen.sh @@ -2,7 +2,6 @@ source IPS -source push-to-repo #--------------------Input--------------------- 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----------------- echo -ne '######################### (95%)\n' check_ip diff --git a/push-to-repo b/push-to-repo deleted file mode 100644 index 8d82070..0000000 --- a/push-to-repo +++ /dev/null @@ -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------------------