[X2Go-Commits] [live-build-x2go] 23/167: last commit was incomplete, and included one escape too much per echo

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:35 CET 2017


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

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

commit e22dff99714c1230e259b6a4d09203f49410f24b
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jul 22 12:39:17 2017 +0200

    last commit was incomplete, and included one escape too much per echo
---
 config/includes.chroot/lib/live/config/2000-showifconfig          | 2 +-
 .../includes.chroot/lib/live/config/2150-getsshpubkeysfromserver  | 2 +-
 .../includes.chroot/lib/live/config/2200-xserver-xorg-getxorgconf | 2 +-
 config/includes.chroot/lib/live/config/2500-tcpprint              | 8 ++++----
 config/includes.chroot/lib/live/config/2600-x2go-getsessions      | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2000-showifconfig b/config/includes.chroot/lib/live/config/2000-showifconfig
index faa5918..0f96fdf 100755
--- a/config/includes.chroot/lib/live/config/2000-showifconfig
+++ b/config/includes.chroot/lib/live/config/2000-showifconfig
@@ -17,7 +17,7 @@ cat >/etc/network/if-up.d/0100-showips <<SHOWIPS
 export TERM=linux;
 
 while [ -z "\$(hostname -I)" ] ; do
-	echo -n "\\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
+	echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
 	sleep 2
 done
 
diff --git a/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver b/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
index 3070fa2..0042e3d 100755
--- a/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
+++ b/config/includes.chroot/lib/live/config/2150-getsshpubkeysfromserver
@@ -18,7 +18,7 @@ GetSSHPubKeysFromServer ()
 export TERM=linux;
 
 while [ -z "\$(hostname -I)" ] ; do
-	echo -n "\\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
+	echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
 	sleep 2
 done
 
diff --git a/config/includes.chroot/lib/live/config/2200-xserver-xorg-getxorgconf b/config/includes.chroot/lib/live/config/2200-xserver-xorg-getxorgconf
index 4955f7b..31587c5 100755
--- a/config/includes.chroot/lib/live/config/2200-xserver-xorg-getxorgconf
+++ b/config/includes.chroot/lib/live/config/2200-xserver-xorg-getxorgconf
@@ -16,7 +16,7 @@ echo -n " xserver-xorg-getxorgconf"
 export TERM=linux;
 
 while [ -z "\$(hostname -I)" ] ; do
-	echo -n "\\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
+	echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
 	sleep 2
 done
 if echo "$XORGCONFURL" | grep -q "^tftp://" ; then
diff --git a/config/includes.chroot/lib/live/config/2500-tcpprint b/config/includes.chroot/lib/live/config/2500-tcpprint
index c22e235..477a53d 100755
--- a/config/includes.chroot/lib/live/config/2500-tcpprint
+++ b/config/includes.chroot/lib/live/config/2500-tcpprint
@@ -28,7 +28,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 | ')Setting up local printers ..." | tee -a /dev/tty9
+	echo -en "\n\$(date +'%F | %T | ')Setting up local printers ..." | tee -a /dev/tty9
 
 	# Create a listening port for a TCP/9100-RAW-printer
 	#
@@ -52,21 +52,21 @@ service jetdirect${PRINTERCOUNT}
 	$TCPPRINTONLYFROM
 }
 JETDIRCONF
-		echo -en "\\n\$(date +'%F | %T | ')Mapping $PRINTERDEV => $PORTNUMBER" | tee -a /dev/tty9
+		echo -en "\n\$(date +'%F | %T | ')Mapping $PRINTERDEV => $PORTNUMBER" | tee -a /dev/tty9
 		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/tty9
+		echo -en "\n\$(date +'%F | %T | ')xinetd needs to be restarted, trying to do that ..." | tee -a /dev/tty9
 		if /etc/init.d/xinetd restart; then
 			echo -n " success. All done." | tee -a /dev/tty9
 		else
 			echo -n " error." | tee -a /dev/tty9
 		fi
 	else
-		echo -en "\\n\$(date +'%F | %T | ')No xinetd restart necessary. All done." | tee -a /dev/tty9
+		echo -en "\n\$(date +'%F | %T | ')No xinetd restart necessary. All done." | tee -a /dev/tty9
 	fi
 
 	) &
diff --git a/config/includes.chroot/lib/live/config/2600-x2go-getsessions b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
index da0135b..3af8c22 100755
--- a/config/includes.chroot/lib/live/config/2600-x2go-getsessions
+++ b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
@@ -19,7 +19,7 @@ X2GoGetSessions ()
 export TERM=linux;
 
 while [ -z "\$(hostname -I)" ] ; do
-	echo -en "\\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
+	echo -en "\n\$(date +'%F | %T | ')'\$0' is waiting for a client IP." | tee -a /dev/tty9
 	sleep 2
 done
 if echo "$SESSIONSURL" | grep -q "^tftp://" ; then

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list