1 2 3 4 5 6 7 8
#!/bin/sh # Save the rrd databases to the config path. if [ -d "/var/db/rrd" ]; then /etc/rc.conf_mount_rw cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd /etc/rc.conf_mount_ro fi