[X2Go-Commits] [live-build-x2go] 29/44: unified/fixed log message output
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:37:16 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster-heuler
in repository live-build-x2go.
commit d21dd2a468e7bcb01b7444854872e086bc92c8b3
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
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
More information about the x2go-commits
mailing list