This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.

commit 02177d29d4caefc34549030a11968b46d6583369
Author: Stefan Baur (BAUR-ITCS) <[email protected]>
Date:   Sat Jun 27 16:37:24 2020 +0200

    unified/fixed log message output
---
 config/includes.chroot/lib/live/config/2600-tcpprint | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2600-tcpprint 
b/config/includes.chroot/lib/live/config/2600-tcpprint
index 09d6187..51c3c49 100755
--- a/config/includes.chroot/lib/live/config/2600-tcpprint
+++ b/config/includes.chroot/lib/live/config/2600-tcpprint
@@ -26,7 +26,7 @@ if grep -q "\W*tcpprint\W*" /proc/cmdline ; then
        done
 
        while ! [ -c /dev/tty8 ] ; do
-               echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for tty8 to 
become available."
+               echo -en "\n\$(date +'%F | %T | ')'$0' is waiting for tty8 to 
become available."
                sleep 2
        done
 
@@ -58,21 +58,21 @@ service jetdirect${PRINTERCOUNT}
        $TCPPRINTONLYFROM
 }
 JETDIRCONF
-               echo -en "\n$(date +'%F | %T | ')Mapping $PRINTERDEV => 
$PORTNUMBER" | tee -a /dev/tty8
+               echo -en "\n$(date +'%F | %T | ')'$0': Mapping $PRINTERDEV => 
$PORTNUMBER" | tee -a /dev/tty8
                PRINTERCOUNT=$((PRINTERCOUNT+1))
        done
 
        echo "#Local printer config: Done." >/etc/xinetd.d/jetdirect
 
        if ps -C xinetd --no-header >/dev/null ; then
-               echo -en "\n$(date +'%F | %T | ')xinetd needs to be restarted, 
trying to do that ..." | tee -a /dev/tty8
+               echo -en "\n$(date +'%F | %T | ')'$0': xinetd needs to be 
restarted, trying to do that ..." | tee -a /dev/tty8
                if /etc/init.d/xinetd restart; then
                        echo -n " success. All done." | tee -a /dev/tty8
                else
                        echo -n " error." | tee -a /dev/tty8
                fi
        else
-               echo -en "\n$(date +'%F | %T | ')No xinetd restart necessary. 
All done." | tee -a /dev/tty8
+               echo -en "\n$(date +'%F | %T | ')'$0': No xinetd restart 
necessary. All done." | tee -a /dev/tty8
        fi
 
        ) &

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/live-build-x2go.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to