summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-31 21:36:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-31 21:36:21 +0000
commitd688f4e0d25007769654e104560351996eb02a6d (patch)
tree9a1b8c79c8353765cc5c774db5ef2aab575f3b1c /etc
parent8388bbc67aab95ac2b7d0528f50db4694745f0e0 (diff)
downloadpfsense-d688f4e0d25007769654e104560351996eb02a6d.zip
pfsense-d688f4e0d25007769654e104560351996eb02a6d.tar.gz
Break out text to new line, pause for 5 seconds after showing backup size.
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/cvssync7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 04a637b..3a4e6ab 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -94,11 +94,12 @@ if($branch == "RESTORE") {
exit();
}
-echo "===> Backing up current pfSense information... Please wait... ";
+echo "===> Backing up current pfSense information...\n";
+echo "===> Please wait... ";
exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /tmp --exclude /var/run /");
$size = filesize("/root/cvssync_backup.tgz");
-echo "{$size} bytes.\n";
-sleep(2);
+echo "{$size} bytes.\n\n";
+sleep(5);
echo "===> Checking out $branch\n";
exec("mkdir -p /home/pfsense/$branch");
OpenPOWER on IntegriCloud