summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-12-18 12:40:23 +0100
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-12-18 12:40:23 +0100
commita289cdd0add2ef3702c7be7c0ce0fdff32720b2d (patch)
tree9ab774e0d313052b409fdde9bba5ca936f3b9b63
parentb3a9876b9e402297678924cbd5ada197055d3f94 (diff)
downloadeficast-a289cdd0add2ef3702c7be7c0ce0fdff32720b2d.tar.gz
eficast-a289cdd0add2ef3702c7be7c0ce0fdff32720b2d.tar.bz2
eficast-a289cdd0add2ef3702c7be7c0ce0fdff32720b2d.zip
make-boot-image : move dead code lying after nc daemon foreground spawn
-rwxr-xr-xmake-boot-image.sh5
1 files changed, 2 insertions, 3 deletions
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"