summarylogtreecommitdiffstats
path: root/bareos-filedaemon.install
blob: ef311e1287a61d4fa8f6bb8f4bfdfdf85850714e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
yellow='\e[0;33m'
coloroff='\e[0m'

post_install() {
   /usr/lib/bareos/scripts/bareos-config initialize_local_hostname
   /usr/lib/bareos/scripts/bareos-config initialize_passwords
}

post_upgrade() {
   post_install
   echo -e "${yellow}NOTE: Renamed bareos-fd.service to bareos-filedaemon.service${coloroff}"
}