summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-23 23:48:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-23 23:48:52 +0000
commite1cb970ef4e6a2bcc918533f051efd63f195ec3f (patch)
tree1aff0a4f1f462b9bf2f0ce017e174999315612fd /etc/phpshellsessions
parent3f179a55721d9ade486cbfd4616c0974c399e150 (diff)
downloadpfsense-e1cb970ef4e6a2bcc918533f051efd63f195ec3f.zip
pfsense-e1cb970ef4e6a2bcc918533f051efd63f195ec3f.tar.gz
Minor text cleanups
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync11
1 files changed, 5 insertions, 6 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index bb620f4..3894e10 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);
OpenPOWER on IntegriCloud