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"
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user