Skip to content

Commit

Permalink
initramfs: fix when /dev/console is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
0x754C committed May 14, 2024
1 parent f3ea496 commit 646bd60
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ramdisk/initramfs/musl_riscv64/init
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@ msc() {
echo /dev/mmcblk0 > functions/mass_storage.disk0/lun.0/file
ls /sys/class/udc/ | cat > UDC
echo device > /proc/cviusb/otg_role
(
while true
do
sleep 10
busybox iostat
busybox uptime
busybox uname
sync
done
) &
/busybox sh
exit
}

set -x
Expand Down

0 comments on commit 646bd60

Please sign in to comment.