summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-24 00:13:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-24 00:13:39 +0000
commitd56e44ba31a5d67de099be840f7c96a82f5533a4 (patch)
tree52d149a205d73626f79b53dcd4e92b015cceb30f /etc/phpshellsessions
parent7ed5449128ec121a7116ae83195b9935d5ce63f4 (diff)
downloadpfsense-d56e44ba31a5d67de099be840f7c96a82f5533a4.zip
pfsense-d56e44ba31a5d67de099be840f7c96a82f5533a4.tar.gz
Show the backup date and time available for RESTORE
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index e6fb37f..503de3a 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -57,7 +57,8 @@ $branches = array(
);
if(file_exists("/root/cvssync_backup.tgz")) {
- $tmp = array("RESTORE" => "Restores prior CVSSync backup data.");
+ $backup_date = `ls -lah /root/cvssync_backup.tgz | awk '{ print $6,$7,$8 }'`;
+ $tmp = array("RESTORE" => "Restores prior CVSSync backup data performed at {$backup_date}");
$branches = array_merge($branches, $tmp);
}
OpenPOWER on IntegriCloud