diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-05 19:13:08 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-05 19:13:08 +0100 |
commit | b854e8abb7e1ff0b43c9f99e9b641895e4d6c148 (patch) | |
tree | ab8061666835221d155cfb259559752353c8a2e9 /rootfs | |
parent | 2a218ea1205c8dd547b742931290058def5de85f (diff) |
WIP busybox
Diffstat (limited to 'rootfs')
-rw-r--r-- | rootfs/etc/fstab | 1 | ||||
-rw-r--r-- | rootfs/etc/hostname | 1 | ||||
-rw-r--r-- | rootfs/etc/hosts | 1 | ||||
-rwxr-xr-x | rootfs/etc/init.d/rcS | 2 | ||||
-rw-r--r-- | rootfs/etc/inittab | 9 | ||||
-rw-r--r-- | rootfs/etc/passwd | 0 | ||||
-rw-r--r-- | rootfs/etc/profile | 4 | ||||
-rw-r--r-- | rootfs/etc/shadow | 0 |
8 files changed, 18 insertions, 0 deletions
diff --git a/rootfs/etc/fstab b/rootfs/etc/fstab new file mode 100644 index 0000000..e84b78a --- /dev/null +++ b/rootfs/etc/fstab @@ -0,0 +1 @@ +proc /proc proc defaults 0 0 diff --git a/rootfs/etc/hostname b/rootfs/etc/hostname new file mode 100644 index 0000000..cf7c0fc --- /dev/null +++ b/rootfs/etc/hostname @@ -0,0 +1 @@ +gaming diff --git a/rootfs/etc/hosts b/rootfs/etc/hosts new file mode 100644 index 0000000..2601d5c --- /dev/null +++ b/rootfs/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost gaming diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS new file mode 100755 index 0000000..fc699e4 --- /dev/null +++ b/rootfs/etc/init.d/rcS @@ -0,0 +1,2 @@ +#!/bin/sh +/bin/mount -a diff --git a/rootfs/etc/inittab b/rootfs/etc/inittab new file mode 100644 index 0000000..5f4a5fa --- /dev/null +++ b/rootfs/etc/inittab @@ -0,0 +1,9 @@ +# /etc/inittab init(8) + +::sysinit:/etc/init.d/rcS +::shutdown:/bin/umount -a -r +::restart:/sbin/init + +# this could be really unsafe in production +::respawn:/sbin/getty -L ttyS0 115200 vt100 +ttyS0::respawn:-/bin/login -f root diff --git a/rootfs/etc/passwd b/rootfs/etc/passwd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/rootfs/etc/passwd diff --git a/rootfs/etc/profile b/rootfs/etc/profile new file mode 100644 index 0000000..3c2be89 --- /dev/null +++ b/rootfs/etc/profile @@ -0,0 +1,4 @@ +# /etc/profile +umask 022 +export PATH="$PATH:/usr/bin" + diff --git a/rootfs/etc/shadow b/rootfs/etc/shadow new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/rootfs/etc/shadow |