From: Dan Langille Date: Fri, 12 Dec 2003 16:08:33 +0000 (+0000) Subject: Add this for symmetry X-Git-Tag: Release-1.34.0~281 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6359a1796572d131006b6cdbec749155eb5795a5;p=bacula%2Fbacula Add this for symmetry git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@875 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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