Break out text to new line, pause for 5 seconds after showing backup size.

This commit is contained in:
Scott Ullrich 2008-07-31 21:36:21 +00:00
parent 8388bbc67a
commit d688f4e0d2

View File

@ -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");