group global variables
This commit is contained in:
parent
6174c863df
commit
53e7bc984a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user