From a289cdd0add2ef3702c7be7c0ce0fdff32720b2d Mon Sep 17 00:00:00 2001
From: Ludovic Pouzenc <ludovic@pouzenc.fr>
Date: Sun, 18 Dec 2016 12:40:23 +0100
Subject: make-boot-image : move dead code lying after nc daemon foreground
 spawn

---
 make-boot-image.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'make-boot-image.sh')

diff --git a/make-boot-image.sh b/make-boot-image.sh
index f7959ee..2f20fc0 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -336,12 +336,11 @@ efibootmgr -v
 # Machine basic informations
 machine_info
 
-# You could press Alt+F2 to have a shell. Remote control on telnet port (TCP 23)
-nc -ll -p 23 -e /bin/sh -i
-
 # Network IP adresses
 ip -o addr show | sed -ne 's/[0-9]*:\s*\(\S*\)\s*inet6*\s\(\S*\)\s.*$/\1: \2/p'
 
+# You could press Alt+F2 to have a shell. Remote control on telnet port (TCP 23)
+nc -ll -p 23 -e /bin/sh -i
 EOT
 chmod +x "$WORKDIR/initrd/init"
 
-- 
cgit v1.2.3