summaryrefslogtreecommitdiff
path: root/target/mipsel/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/mipsel/files/etc')
-rw-r--r--target/mipsel/files/etc/inittab4
-rw-r--r--target/mipsel/files/etc/mdev.conf11
2 files changed, 15 insertions, 0 deletions
diff --git a/target/mipsel/files/etc/inittab b/target/mipsel/files/etc/inittab
new file mode 100644
index 000000000..6f21e703b
--- /dev/null
+++ b/target/mipsel/files/etc/inittab
@@ -0,0 +1,4 @@
+::sysinit:/etc/init.d/rcS
+::shutdown:/etc/init.d/rcK
+ttyS0::respawn:/sbin/getty -i -L ttyS0 115200 vt100
+tty1::respawn:/sbin/getty -i -L tty1 115200 vt100
diff --git a/target/mipsel/files/etc/mdev.conf b/target/mipsel/files/etc/mdev.conf
new file mode 100644
index 000000000..a8b87c84c
--- /dev/null
+++ b/target/mipsel/files/etc/mdev.conf
@@ -0,0 +1,11 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+tun 0:0 660 >net/tun
+device-mapper 0:0 660 @mkdir /dev/mapper
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+tty 0:0 666
+ttyS* 0:0 640
+.* 0:0 644 @/lib/mdev/init