#!/bin/sh # # This routine makes the appropriately configured # Bacula tables for PostgreSQL or MySQL. # SQLite does not have permissions. # if test xmysql = x@DB_NAME@ ; then echo "Granting MySQL privileges" @scriptdir@/grant_mysql_privileges $* else if test xpostgresql = x@DB_NAME@ ; then echo "Granting PostgreSQL privileges" # hard coded database name @scriptdir@/grant_postgresql_privileges bacula else if test xsqlite = x@DB_NAME@ ; then echo "Granting SQLite privileges" # hard coded database name @scriptdir@/grant_sqlite_privileges fi fi fi