diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-12-24 15:37:44 +0100 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-12-24 15:37:44 +0100 |
commit | 2721d59147eaf50943ac79834719ad6fe435711c (patch) | |
tree | e5579e3beb10acaf715efd280fce9cb7f897fba7 | |
parent | 5024b3634f45ee9e65e0593dee27842f2bb9f880 (diff) | |
download | eficast-2721d59147eaf50943ac79834719ad6fe435711c.tar.gz eficast-2721d59147eaf50943ac79834719ad6fe435711c.tar.bz2 eficast-2721d59147eaf50943ac79834719ad6fe435711c.zip |
busybox spawn shells and sinkdo. rescue_shell for critical things only.
-rwxr-xr-x | make-boot-image.sh | 12 |
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" |