rm -f /etc/kolab/.configured
echo 

DIR=/etc/kolab/backup/orig
if [ ! -e $DIR ];then
  DIR=/etc/kolab/backup/dist
fi
echo -n "Restoring backup files from $DIR ..."
cp -f $DIR/cyrus.conf /etc
cp -f $DIR/imapd.conf /etc
cp -f $DIR/*.cf /etc/postfix
cp -f $DIR/transport /etc/postfix
cp -f $DIR/virtual /etc/postfix
cp -f $DIR/proftpd.conf /etc
cp -f $DIR/saslauthd /etc/sysconfig 
cp -f $DIR/slapd.conf /etc/openldap
cp -f $DIR/41_mod_ssl.default-vhost.conf /etc/httpd/conf.d
echo "done!"
