16 lines
234 B
Plaintext
16 lines
234 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
mount -t proc proc /proc
|
||
|
mount -t sysfs sysfs /sys
|
||
|
|
||
|
echo 0 > /proc/sys/kernel/printk
|
||
|
|
||
|
busybox --install -s
|
||
|
|
||
|
mknod /dev/null c 1 3
|
||
|
mknod /dev/tty c 5 0
|
||
|
|
||
|
mdev -s
|
||
|
|
||
|
exec setsid sh -c 'exec sh /init2 </dev/tty1 >/dev/tty1 2>&1'
|