summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"