diff options
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-x | etc/rc.shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 0a40d4f..10f633d 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 -C / var/db/rrd/*.rrd + cd /var && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd /etc/rc.conf_mount_ro fi |