#!/bin/bash

. ${TOOLKIT}-functions.sh

[ -x /usr/sbin/kubackup-update-rsync -a -e /etc/kubackup-run.conf ] && {
	kubackup-update-rsync
}

file=/etc/rsyncd.secrets
[ -f $file ] || {
	installfile /dev/null $file root:root 660
}

$SOMETHING_CHANGED && {
	which xinetd >/dev/null && {
		restart_service xinetd xinetd || exit 1
	}
}

exit 0
