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 declare -r DATABASE
="${DBPREFIX}x4dat"
18 function mailman_stop
() {
19 echo -n
"stops mailman"
20 /etc
/init.d
/mailman stop
&>/dev
/null
24 function mailman_templates
() {
25 echo -n
"copies new mails templates"
26 mkdir
-p
/etc
/mailman
/xorg
27 cp -f ..
/..
/modules
/lists
/mail_templates
/*.txt
/etc
/mailman
/xorg
31 function mailman_start
() {
32 echo -n
"starts mailman"
33 /etc
/init.d
/mailman start
&>/dev
/null