From 6359a1796572d131006b6cdbec749155eb5795a5 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Fri, 12 Dec 2003 16:08:33 +0000 Subject: [PATCH] Add this for symmetry git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@875 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/grant_bacula_privileges.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bacula/src/cats/grant_bacula_privileges.in diff --git a/bacula/src/cats/grant_bacula_privileges.in b/bacula/src/cats/grant_bacula_privileges.in new file mode 100755 index 0000000000..6fdb1b12b1 --- /dev/null +++ b/bacula/src/cats/grant_bacula_privileges.in @@ -0,0 +1,14 @@ +#!/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" + . ./grant_mysql_privileges +else + echo "Granting PostgreSQL privileges" + # hard coded database name + . ./grant_postgresql_privileges bacula +fi -- 2.39.5