[X2Go-Commits] [live-build-x2go] 50/108: fixed unneccessary escapes
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 20 22:13:14 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.
commit dce43dba13623854d43bae4f83a275f1d0815b81
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sun Apr 22 19:05:59 2018 +0200
fixed unneccessary escapes
---
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 c9266ac..09d6187 100755
--- a/config/includes.chroot/lib/live/config/2600-tcpprint
+++ b/config/includes.chroot/lib/live/config/2600-tcpprint
@@ -34,7 +34,7 @@ if grep -q "\W*tcpprint\W*" /proc/cmdline ; then
[ -d /dev/usb ] && PRINTERDEVICES=$(find /dev/usb -type c -name "lp*" | sort)
PRINTERDEVICES="$PRINTERDEVICES $(find /dev/ -maxdepth 1 -type c -name "lp*" | sort)"
- echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty8
+ echo -en "\n$(date +'%F | %T | ')'$0' is waiting for a client IP." | tee -a /dev/tty8
# Create a listening port for a TCP/9100-RAW-printer
#
@@ -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 | ')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 | ')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 | ')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