luckfox-pico-sdk/sysdrv/tools/board/busybox/init
eng33 226c3fbda8 ubuntu: add ubuntu support
Signed-off-by: eng33 <eng33@luckfox.com>
2023-12-11 17:14:45 +08:00

8 lines
178 B
Bash
Executable File

#!/bin/sh
# devtmpfs does not get automounted for initramfs
/bin/mount -t devtmpfs devtmpfs /dev
exec 0</dev/console
exec 1>/dev/console
exec 2>/dev/console
exec /sbin/init "$@"