rsync.kur-kos 286 B

12345678910111213
  1. if [ ! -f /etc/rsyncd.conf ]; then
  2. cat > /etc/rsyncd.conf << "EOF"
  3. # use chroot = yes
  4. # [site]
  5. # path = /root/x.org
  6. # comment = Site web
  7. # auth users = milisx
  8. # read only = yes
  9. # exclude from = /etc/milis_rsync_exclude_files.txt
  10. # secrets file = /etc/rsyncd.secrets
  11. EOF
  12. fi