#!/bin/sh
#
# shell script to drop Bacula SQLite tables
db_name=bacula


if test xsqlite = xbdb -o xsqlite3 = xbdb ; then 
  cd /var/bacula/working
  rm -rf ${db_name}.db
  echo "SQLite database dropped."
else
  echo "Bacula is not configured for an SQLite database."
fi


syntax highlighted by Code2HTML, v. 0.9.1