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"
} }


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


#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