bareos2015: bareos-14.2 abe1a06c

Author Committer Branch Timestamp Parent
joergs mvwieringen bareos-14.2 2014-02-03 14:45 bareos-14.2 d9d1fb03 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