linuxOS_AP05/buildroot/fs/cpio/init
2025-06-02 13:59:07 +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 "$@"