diff options
Diffstat (limited to 'bareos/bareos-bconsole.install')
-rw-r--r-- | bareos/bareos-bconsole.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bareos/bareos-bconsole.install b/bareos/bareos-bconsole.install new file mode 100644 index 00000000..0b1c1d30 --- /dev/null +++ b/bareos/bareos-bconsole.install @@ -0,0 +1,12 @@ +## arg 1: the new package version +post_install() { + /usr/lib/bareos/scripts/bareos-config initialize_local_hostname + /usr/lib/bareos/scripts/bareos-config initialize_passwords + + chown root:bareos /usr/share/bareos/config/bconsole.conf + chmod 640 /usr/share/bareos/config/bconsole.conf +} + +post_upgrade() { + post_install +} |