aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Luca Ceresoli <luca@lucaceresoli.net>2015-09-21 18:29:43 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-10-03 15:29:50 +0200
commit246131a593ba80879e2a7a81356c0b5fdfccc000 (patch)
tree384bee2e27a5f780c76701dc4fda915f4a2ba2b2 /package
parentaba0f80d899b99627795d555ae821c50a45c545f (diff)
downloadbuildroot-246131a593ba80879e2a7a81356c0b5fdfccc000.tar.gz
buildroot-246131a593ba80879e2a7a81356c0b5fdfccc000.tar.bz2
busybox: inittab: don't redirect output to /dev/null
Several inittab steps are redirected to /dev/null. This means any error or warning printed by these crucial commands would be hidden from the user. There is no evident reason to hide this output, so stop doing that. Suggested by Thomas Petazzoni: http://lists.busybox.net/pipermail/buildroot/2015-September/139146.html Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/busybox/inittab12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/busybox/inittab b/package/busybox/inittab
index b1892c1cb0..24d9199d6e 100644
--- a/package/busybox/inittab
+++ b/package/busybox/inittab
@@ -14,12 +14,12 @@
# process == program to run
# Startup the system
-null::sysinit:/bin/mount -t proc proc /proc
-null::sysinit:/bin/mount -o remount,rw /
-null::sysinit:/bin/mkdir -p /dev/pts
-null::sysinit:/bin/mkdir -p /dev/shm
-null::sysinit:/bin/mount -a
-null::sysinit:/bin/hostname -F /etc/hostname
+::sysinit:/bin/mount -t proc proc /proc
+::sysinit:/bin/mount -o remount,rw /
+::sysinit:/bin/mkdir -p /dev/pts
+::sysinit:/bin/mkdir -p /dev/shm
+::sysinit:/bin/mount -a
+::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS