summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-xetc/rc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index 09f1981..0a40d4f 100755
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -30,6 +30,6 @@ if [ "$PLATFORM" = "pfSense" ]; then
else
/etc/rc.conf_mount_rw
# Save the rrd databases to the config path.
- tar -czf /cf/conf/rrd.tgz /var/db/rrd/*.rrd
+ tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
/etc/rc.conf_mount_ro
fi
OpenPOWER on IntegriCloud