summaryrefslogtreecommitdiff
path: root/target/alix2d/files
diff options
context:
space:
mode:
Diffstat (limited to 'target/alix2d/files')
-rw-r--r--target/alix2d/files/etc/fstab2
-rw-r--r--target/alix2d/files/etc/inittab3
-rw-r--r--target/alix2d/files/etc/mdev.conf11
3 files changed, 16 insertions, 0 deletions
diff --git a/target/alix2d/files/etc/fstab b/target/alix2d/files/etc/fstab
new file mode 100644
index 000000000..7aed67706
--- /dev/null
+++ b/target/alix2d/files/etc/fstab
@@ -0,0 +1,2 @@
+# <fs> <mountpoint> <type> <opts> <dump/pass>
+/dev/root / ext2 noatime 0 0
diff --git a/target/alix2d/files/etc/inittab b/target/alix2d/files/etc/inittab
new file mode 100644
index 000000000..230cfa242
--- /dev/null
+++ b/target/alix2d/files/etc/inittab
@@ -0,0 +1,3 @@
+::sysinit:/etc/init.d/rcS
+::shutdown:/etc/init.d/rcK
+ttyS0::respawn:/sbin/getty -i -L ttyS0 115200 vt100
diff --git a/target/alix2d/files/etc/mdev.conf b/target/alix2d/files/etc/mdev.conf
new file mode 100644
index 000000000..5e2c73cf0
--- /dev/null
+++ b/target/alix2d/files/etc/mdev.conf
@@ -0,0 +1,11 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+device-mapper 0:0 660 @mkdir /dev/mapper
+tun 0:0 660 >net/tun
+null 0:0 777
+zero 0:0 666
+u?random 0:0 644
+console 0:0 0600
+ptmx 0:0 666
+ttyS* 0:0 640
+msr0 root:root 660 @(mkdir -p /dev/cpu/0 && ln -sf /dev/msr0 /dev/cpu/0/msr)
+.* 0:0 644 @/lib/mdev/init