group global variables
This commit is contained in:
parent
6174c863df
commit
53e7bc984a
@ -17,18 +17,21 @@
|
||||
{ #set enviroemnt
|
||||
true=1 #like <stdbool.h>
|
||||
false=0 #like <stdbool.h>
|
||||
globalconf="/etc/tt/global"
|
||||
}
|
||||
|
||||
mode=$(echo $1 | tr -d '-')
|
||||
md5="$2"
|
||||
moviedir="$3"
|
||||
globalconf="/etc/tt/global"
|
||||
{ #get options & args
|
||||
mode=$(echo $1 | tr -d '-')
|
||||
md5="$2"
|
||||
moviedir="$3"
|
||||
}
|
||||
|
||||
#db
|
||||
dbname="tt_test"
|
||||
dbhost="localhost"
|
||||
dbuser="root"
|
||||
dbpwd=""
|
||||
{ #db
|
||||
dbname="tt_test"
|
||||
dbhost="localhost"
|
||||
dbuser="root"
|
||||
dbpwd=""
|
||||
}
|
||||
|
||||
function help() {
|
||||
#help menue
|
||||
|
Loading…
Reference in New Issue
Block a user