Thanks for a great thread! Not as clean as I hoped, but I got things working. I would have had no luck without this thread.
I did have one snag.
When I used this in my go file I had problems.
# Start Rsync
installpkg /boot/packages/rsync/rsync-2.6.6-i486-1.tgz
/boot/packages/rsync/rc.d/S20-init.rsyncd
The Error: line 10: syntax error: unexpected end of file.
This is what my S20-init.rysncd file looks like:
if ! grep ^rsync /etc/inetd.conf > /dev/null ; then
cat <<-EOF >> /etc/inetd.conf
rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon
EOF
read PID < /var/run/inetd.pid
kill -1 ${PID}
fi
cp /boot/packages/rsync/rsyncd.conf /etc/rsyncd.conf
If I add
#!/bin/bash
at the beginning I get "Bad interpreter" as the error.
I changed my GO to the following and everything seems to work. I found the info here:
http://lime-technology.com/wordpress/?page_id=34
installpkg /boot/packages/rsync/rsync-2.6.6-i486-1.tgz
rsync --daemon --config=/boot/packages/rsync/rsyncd.conf
I'm not sure if I've crippled things or not, but the various steps provided in this post got me to the point where testing and now backing up was something I could do.