aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc
diff options
context:
space:
mode:
Diffstat (limited to 'rootfs/etc')
-rw-r--r--rootfs/etc/fstab1
-rw-r--r--rootfs/etc/hostname1
-rw-r--r--rootfs/etc/hosts1
-rwxr-xr-xrootfs/etc/init.d/rcS2
-rw-r--r--rootfs/etc/inittab9
-rw-r--r--rootfs/etc/passwd0
-rw-r--r--rootfs/etc/profile4
-rw-r--r--rootfs/etc/shadow0
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