#!/bin/sh # # This routine makes the appropriately configured # Bacula tables for PostgreSQL or MySQL. # SQLite does not have permissions. # if test xmysql = xmysql ; then echo "Granting MySQL privileges" /usr/local/bacula/scripts/grant_mysql_privileges $* else if test xpostgresql = xmysql ; then echo "Granting PostgreSQL privileges" /usr/local/bacula/scripts/grant_postgresql_privileges $* else if test xsqlite = xmysql -o xsqlite3 = xmysql ; then echo "Granting SQLite privileges" /usr/local/bacula/scripts/grant_mysql_privileges $* fi fi fi