Newer
Older
buildroot-MynaPlayer / board / myna-player-odyssey / rootfs_overlay / sysinit
@Xogium Xogium on 16 Aug 2020 449 bytes Add custom inittab and sysinit script.
#!/bin/sh
/bin/mount -t proc none /proc&
(mkdir -p /dev/pts && /bin/mount -t devpts none /dev/pts)&
(mkdir -p /dev/shm && /bin/mount -t tmpfs none /dev/shm)&
/bin/mount -t sysfs none /sys&
/bin/mount -t tmpfs none /tmp&
/bin/mount -t tmpfs none /run&
#/bin/ln -sf /proc/self/fd /dev/fd&
#/bin/ln -sf /proc/self/fd/0 /dev/stdin&
#/bin/ln -sf /proc/self/fd/1 /dev/stdout&
#/bin/ln -sf /proc/self/fd/2 /dev/stderr&
/bin/hostname -F /etc/hostname&
wait