enclaveos/scripts/busybox_init

17 lines
339 B
Plaintext
Executable File

#!/bin/busybox sh
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