summaryrefslogtreecommitdiff
path: root/target/generic/target_busybox_skeleton
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-16 14:32:22 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-16 14:32:22 +0000
commitdf0d82146069fd6a1093687c3884de623780a623 (patch)
tree264350640da956365d5761dc9b2da0aa94f4946a /target/generic/target_busybox_skeleton
parentf9d7e9f0e7dc3a034c27bb52aea61f5c59c186ab (diff)
- add skeleton to use busybox and mdev for a rather small skeleton
Diffstat (limited to 'target/generic/target_busybox_skeleton')
-rw-r--r--target/generic/target_busybox_skeleton/etc/fstab3
-rw-r--r--target/generic/target_busybox_skeleton/etc/inittab10
2 files changed, 10 insertions, 3 deletions
diff --git a/target/generic/target_busybox_skeleton/etc/fstab b/target/generic/target_busybox_skeleton/etc/fstab
index 6d33629a7..5a351e2b1 100644
--- a/target/generic/target_busybox_skeleton/etc/fstab
+++ b/target/generic/target_busybox_skeleton/etc/fstab
@@ -5,4 +5,5 @@
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /tmp tmpfs defaults 0 0
-
+configfs /config configfs defaults 0 0
+sysfs /sys sysfs defaults 0 0
diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab
index a6c014e75..aff1fdfd3 100644
--- a/target/generic/target_busybox_skeleton/etc/inittab
+++ b/target/generic/target_busybox_skeleton/etc/inittab
@@ -14,8 +14,14 @@
# process == program to run
# Startup the system
+null::sysinit:/bin/mount -t proc none /proc
+null::sysinit:/bin/mount -t sysfs none /sys
+null::sysinit:/bin/mount -t tmpfs -o size=512k,mode=0755 none /dev
+null::sysinit:/bin/mkdir /dev/pts
+null::sysinit:/bin/mount -t devpts devpts /dev/pts
+null::sysinit:/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug
+null::sysinit:/sbin/mdev -s
null::sysinit:/bin/mount -o remount,rw /
-null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
@@ -32,7 +38,7 @@ tty2::respawn:/sbin/getty 38400 tty2
# Logging junk
null::sysinit:/bin/touch /var/log/messages
-null::respawn:/sbin/syslogd -n -m 0
+null::respawn:/sbin/syslogd -n
null::respawn:/sbin/klogd -n
tty3::respawn:/usr/bin/tail -f /var/log/messages