mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Break out text to new line, pause for 5 seconds after showing backup size.
This commit is contained in:
parent
8388bbc67a
commit
d688f4e0d2
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user