summaryrefslogtreecommitdiff
path: root/make-boot-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-boot-image.sh')
-rwxr-xr-xmake-boot-image.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index f1a8e5c..5aa0cc6 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -395,7 +395,7 @@ echo "rcS script started"
set -v
# Setup links for programs supported by busybox
-/bin/busybox --install -s
+/bin/busybox --install -s || rescue_shell
# Mount pseudo-filesystems
mount -t proc none /proc || rescue_shell
@@ -406,21 +406,13 @@ mount -t devtmpfs -o size=1m none /dev || rescue_shell
mount -o remount -o size=80% /
# Load keyboard map
-loadkmap < /etc/keys.bmap || rescue_shell
-
-# Starting sinkdo trojan on tty2 (feed data to uploaded scripts via uftp)
-tty_prog 2 sinkdo /run/uftpd /run/sink &
-
-# Start some debug shells (background)
-for i in 3 4 5 6; do tty_prog $i sh & done
+loadkmap < /etc/keys.bmap
network_up
efibootmgr -v
machine_info
network_show
start_uftpd
-# Remote control on telnet port (23). You could press Alt+F3 to have a shell.
-nc -ll -p 23 -e /bin/sh -i
EOF
chmod +x "$WORKDIR/initrd/etc/init.d/rcS"