diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-13 13:53:49 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-13 13:58:00 -0400 |
commit | 8237727a8264b7a6bf1e4e66a6b071ab101b19e6 (patch) | |
tree | 09ba5c9cfaa974731fe4fcd84e8fad95d918bccf /src/usr/local/sbin | |
parent | fd401f7dd657a6f46243e1f8e3796e45e497704d (diff) | |
download | pfsense-8237727a8264b7a6bf1e4e66a6b071ab101b19e6.zip pfsense-8237727a8264b7a6bf1e4e66a6b071ab101b19e6.tar.gz |
Multiple changes to clean up the package installaion system by causing the installer to run in the background
whilst monitoring its output via AJAX to provide a better GUI display.
Work in progress !
Diffstat (limited to 'src/usr/local/sbin')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade-GUI.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade-GUI.sh b/src/usr/local/sbin/pfSense-upgrade-GUI.sh index aea5976..252536a 100755 --- a/src/usr/local/sbin/pfSense-upgrade-GUI.sh +++ b/src/usr/local/sbin/pfSense-upgrade-GUI.sh @@ -141,6 +141,9 @@ if [ -e $FIFO ] ; then rm $FIFO 2>/dev/null fi +rm -f $JSONFILE +rm -f /cf/conf/$LOGFILE + mkfifo $FIFO # Capture the JSON progress status and send it to the file we are watching |