From e1cb970ef4e6a2bcc918533f051efd63f195ec3f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 23 Nov 2008 23:48:52 +0000 Subject: [PATCH] Minor text cleanups --- etc/phpshellsessions/cvssync | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index bb620f42eb..3894e10494 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -231,25 +231,24 @@ exec("rm -rf ${CODIR}/pfSense/root/.shrc"); exec("rm -rf ${CODIR}/pfSense/root/.tcshrc"); exec("rm -f ${CODIR}/pfSense/etc/syslog.conf 2>/dev/null"); -echo "===> Installing new files...\n"; - +echo "===> Installing new files..."; if($g['platform'] == "pfSense") $command = "cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -Uxpf -)"; else $command = "cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -xpf -) 2>/dev/null"; exec($command); +echo "done.\n"; post_cvssync_commands(); -echo "===> Checkout complete.\n"; -echo "\n"; -echo "Your system is now sync'd and PHP and Lighty will be restarted in 5 seconds.\n\n"; +echo "===> Checkout and file installation complete.\n"; +echo "===> Signaling 5 second PHP and lighttpd reload\n"; conf_mount_ro(); echo "===> Showing rules.debug differences\n"; system("diff -u /tmp/rules.beforecvssync /tmp/rules.debug"); -echo "===> Waiting for PHP restart..."; +echo "===> Waiting for PHP/lighttpd restart..."; sleep(10);