summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
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.reboot
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.reboot')
-rwxr-xr-xetc/rc.reboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index 6088c5c..5d7b709 100755
--- a/etc/rc.reboot
+++ b/etc/rc.reboot
@@ -17,7 +17,7 @@ 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