#!/bin/sh
#
# This routine creates the Bacula database
#  using PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xbdb -o xsqlite3 = xbdb ; then
  echo "Creating SQLite database"
  /etc/create_bdb_database
else
  if test xmysql = xbdb ; then
    echo "Creating MySQL database"
    /etc/create_mysql_database $*
  else
    echo "Creating PostgreSQL database"
    /etc/create_postgresql_database $*
  fi
fi


syntax highlighted by Code2HTML, v. 0.9.1