From 90d9604ae251853ca7ca5367d46c8c8f736d3e10 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 23 Nov 2007 06:14:19 +0000 Subject: [PATCH] Add missing carriage returns --- etc/phpshellsessions/cvssync | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index f7e1dc2e2d..7451016eba 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -86,33 +86,34 @@ exec("rm -rf ${CODIR}/pfSense/cf/ 2>/dev/null"); exec("rm -rf ${CODIR}/pfSense/root/.shrc"); exec("rm -rf ${CODIR}/pfSense/root/.tcshrc"); -echo "Installing new files..."; +echo "Installing new files...\n"; exec("cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -Uxpvf -)"); -echo "CVS Sync Complete"; +echo "CVS Sync Complete\n"; -echo "Removing FAST-CGI temporary files..."; +echo "Removing FAST-CGI temporary files...\n"; exec("find /tmp -name \"*php*\" -exec rm -rf {} \;"); exec("rm -rf /tmp/xcache/* 2>/dev/null"); -echo "Upgrading configuration..."; +echo "Upgrading configuration...\n"; convert_config(); /* setup php.ini */ convert_config(); sync_webgui_passwords(); -echo "Restarting check_reload_status..."; +echo "Restarting check_reload_status...\n"; exec("killall check_reload_status"); -mwexec_bg("nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status &"); +mwexec_bg("nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status"); echo "Configuring filter..."; exec("/etc/rc.filter_configure_sync"); exec("pfctl -f /tmp/rules.debug"); +echo "\n"; -echo "===> Checkout complete. Your system is now sync'd."; +echo "===> Checkout complete. Your system is now sync'd.\n"; exec("killall php"); touch("/tmp/restart_webgui");