summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-18 23:23:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-18 23:23:35 +0000
commit79e9b652546c2fb868f088179c26d4b126504e18 (patch)
treee929cb59af075c56347c871675855128ec6f9d05
parent4217338a421028a81c21361b1914ad3ffb90ad41 (diff)
downloadpfsense-79e9b652546c2fb868f088179c26d4b126504e18.zip
pfsense-79e9b652546c2fb868f088179c26d4b126504e18.tar.gz
Woops, cd to / and then tar
-rwxr-xr-xetc/rc.reboot2
-rwxr-xr-xetc/rc.shutdown2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index 7a424c0..721c742 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.
- cd /var && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
+ cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
/etc/rc.conf_mount_ro
fi
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index 10f633d..7f70af2 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.
- cd /var && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
+ cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
/etc/rc.conf_mount_ro
fi
OpenPOWER on IntegriCloud