enclaveos/scripts/busybox_init

17 lines
339 B
Plaintext
Raw Normal View History

#!/bin/busybox sh
2022-07-09 07:52:53 +00:00
busybox mount -t devtmpfs none /dev
busybox mkdir -p /dev/pts
busybox mount -t devpts none /dev/pts
busybox mkdir /sys
busybox mount -t sysfs none /sys
busybox mkdir -p /usr/bin /sbin /usr/sbin /sbin /proc /etc
busybox mount -t proc none /proc
/bin/busybox --install
touch /etc/hosts
touch /etc/fstab
/bin/busybox sh