summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-06-17 17:00:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-06-17 17:00:20 +0000
commit1e39020cda479d4344b60de4403973b70e1c8fce (patch)
treea3d03e6c9095e05eb8e64cf60bd1bce4ccab1146 /etc/rc.shutdown
parent784c448ccc73531496af776c55369c3be9dc1b52 (diff)
downloadpfsense-1e39020cda479d4344b60de4403973b70e1c8fce.zip
pfsense-1e39020cda479d4344b60de4403973b70e1c8fce.tar.gz
MFC 12687
Silent tar: Removing leading '/' from member names on reboot
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