group global variables

This commit is contained in:
6543 2019-02-07 22:51:17 +01:00
parent 6174c863df
commit 53e7bc984a

View File

@ -17,18 +17,21 @@
{ #set enviroemnt { #set enviroemnt
true=1 #like <stdbool.h> true=1 #like <stdbool.h>
false=0 #like <stdbool.h> false=0 #like <stdbool.h>
globalconf="/etc/tt/global"
} }


mode=$(echo $1 | tr -d '-') { #get options & args
md5="$2" mode=$(echo $1 | tr -d '-')
moviedir="$3" md5="$2"
globalconf="/etc/tt/global" moviedir="$3"
}


#db { #db
dbname="tt_test" dbname="tt_test"
dbhost="localhost" dbhost="localhost"
dbuser="root" dbuser="root"
dbpwd="" dbpwd=""
}


function help() { function help() {
#help menue #help menue