ede0942f64278dfdf46868515742b73534150476
3 MYSQL
='mysql -u admin '
8 #if [ "$UID" != 0 ]; then
9 # echo "has to be run as root"
13 if [[ -n
"${DBPREFIX}" ]]; then
14 echo "Using non-default database ${DBPREFIX}x4dat."
16 if [[ -z
"${DATABASE}" ]]; then
17 DATABASE
="${DBPREFIX}x4dat"
25 function mailman_stop
() {
26 echo -n
"stops mailman"
27 /etc
/init.d
/mailman stop
&>/dev
/null
31 function mailman_templates
() {
32 echo -n
"copies new mails templates"
33 mkdir
-p
/etc
/mailman
/xorg
34 cp -f ..
/..
/modules
/lists
/mail_templates
/*.txt
/etc
/mailman
/xorg
38 function mailman_start
() {
39 echo -n
"starts mailman"
40 /etc
/init.d
/mailman start
&>/dev
/null