summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/busybox/files/inittab12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-core/busybox/files/inittab b/meta/recipes-core/busybox/files/inittab
index 2bc831c7c6..e8ec2ab68e 100644
--- a/meta/recipes-core/busybox/files/inittab
+++ b/meta/recipes-core/busybox/files/inittab
@@ -8,11 +8,17 @@
8::sysinit:/bin/mkdir -p /dev/pts 8::sysinit:/bin/mkdir -p /dev/pts
9::sysinit:/bin/mount -t devpts devpts /dev/pts 9::sysinit:/bin/mount -t devpts devpts /dev/pts
10::sysinit:/bin/mount -a 10::sysinit:/bin/mount -a
11 11::sysinit:/sbin/swapon -a
12null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
13null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
14null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
15null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
16# set hostname
17null::sysinit:/bin/busybox hostname -F /etc/hostname
12::sysinit:/etc/init.d/rcS 18::sysinit:/etc/init.d/rcS
13 19
14# Stuff to do before rebooting 20# Stuff to do before rebooting
15::ctrlaltdel:/sbin/reboot 21#::ctrlaltdel:/sbin/reboot
16::shutdown:/etc/init.d/rcK 22::shutdown:/etc/init.d/rcK
17::shutdown:/sbin/swapoff -a 23::shutdown:/sbin/swapoff -a
18::shutdown:/bin/umount -a -r 24::shutdown:/bin/umount -a -r
@@ -20,5 +26,3 @@
20# Stuff to do when restarting the init process 26# Stuff to do when restarting the init process
21::restart:/sbin/init 27::restart:/sbin/init
22 28
23# set hostname
24null::sysinit:/bin/busybox hostname -F /etc/hostname