summaryrefslogtreecommitdiff
path: root/target/generic/target_busybox_skeleton/etc/inittab
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/etc/inittab
parentf9d7e9f0e7dc3a034c27bb52aea61f5c59c186ab (diff)
- add skeleton to use busybox and mdev for a rather small skeleton
Diffstat (limited to 'target/generic/target_busybox_skeleton/etc/inittab')
-rw-r--r--target/generic/target_busybox_skeleton/etc/inittab10
1 files changed, 8 insertions, 2 deletions
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