#!/bin/bash # chkconfig: 2345 20 80 # description: rsync.sh function start_rsync { if [ ! -s /var/run/rsyncd.pid ];then /usr/bin/rsync --daemon else echo -e "