Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 2b761b784e55ea392a818b9b7014dc63 > scriptlet

bacula-tray-monitor-1.38.11-1.amd64.rpm

POSTIN

/bin/sh
echo "Updating Bacula passwords and names..."
cd /etc/bacula
for f in *-password ; do
	p=`cat $f`
	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
done
sed -i -e"s:--hostname--:`hostname`:" *.conf *.conf.rpmnew 2>/dev/null || :