#!/bin/sh # # Drop Bacula database -- works for whatever is configured, # MySQL, SQLite, PostgreSQL # if test xsqlite = xbdb -o xsqlite3 = xbdb ; then /etc/drop_bdb_database $* else if test xmysql = xbdb ; then echo "Making MySQL database" /etc/drop_mysql_database $* else /etc/drop_postgresql_database $* fi fi