From: Andrea R. <ar...@sy...> - 2006-01-03 14:38:34
|
Author: arighi Date: 2006-01-03 12:49:46 -0600 (Tue, 03 Jan 2006) New Revision: 3392 Modified: trunk/initrd_source/skel/etc/init.d/functions Log: - fix: removed error messages if MONITOR_SERVER is defined without MONITOR_CONSOLE Modified: trunk/initrd_source/skel/etc/init.d/functions =================================================================== --- trunk/initrd_source/skel/etc/init.d/functions 2006-01-02 12:45:31 UTC (rev 3391) +++ trunk/initrd_source/skel/etc/init.d/functions 2006-01-03 18:49:46 UTC (rev 3392) @@ -1402,7 +1402,9 @@ # Start client log gathering server: for each connection # to the local client on port 8181 the full log is sent # to the requestor. -AR- - while :; do nc -p 8181 -l < /tmp/si_monitor.log; done & + if [ "x$MONITOR_CONSOLE" = "xyes" ]; then + while :; do nc -p 8181 -l < /tmp/si_monitor.log; done & + fi } # ################################################################################ |