bareos: master d9854754

Author Committer Branch Timestamp Parent
joergs mvwieringen master 2014-02-03 13:45 master a686d2c5 Pending
Changeset use config file settings to configure database

Let the database configuration scripts get the configuration parameter from the director config file.
Now, the scripts try to get there values in following order:
  1. environment variable (db_name, db_user, db_password)
  2. director config file
  3. fallback value (from configure)

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - debian/control Diff File
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/create_bareos_database.in Diff File
mod - src/cats/ddl/grants/mysql-readonly.sql Diff File
mod - src/cats/ddl/grants/mysql.sql Diff File
mod - src/cats/drop_bareos_database.in Diff File
mod - src/cats/drop_bareos_tables.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
mod - src/cats/make_bareos_tables.in Diff File
mod - src/cats/update_bareos_tables.in Diff File