aboutsummaryrefslogtreecommitdiff
path: root/package/sysvinit
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-10-08 11:39:24 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-12 13:00:48 +0200
commitd61c8d73d409f4df6162fb32a02617360e4a02e6 (patch)
treebc365b188687a2d1eb2d58af0137e3ae311d1f86 /package/sysvinit
parenta25b48ce6b516bad25ebe77a6ed34382e98f6db7 (diff)
downloadbuildroot-d61c8d73d409f4df6162fb32a02617360e4a02e6.tar.gz
buildroot-d61c8d73d409f4df6162fb32a02617360e4a02e6.tar.bz2
package/sysvinit: don't start logging
Don't try to start logging from /etc/inittab because busybox installs a S01logging script that handles that and can lead to duplicate logging processes. Let's handle the logging in each package that provides it since we can get multiple variants in the future like syslog-ng that have different initialization routines. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sysvinit')
-rw-r--r--package/sysvinit/inittab7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/sysvinit/inittab b/package/sysvinit/inittab
index 8812cca297..d3de4a70f1 100644
--- a/package/sysvinit/inittab
+++ b/package/sysvinit/inittab
@@ -17,16 +17,9 @@ init::sysinit:/etc/init.d/rcS
# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
-# Logging junk
-mess::sysinit:/bin/touch /var/log/messages
-sysl:1:respawn:/sbin/syslogd -n -m 0
-klog:1:respawn:/sbin/klogd -n
-
# Stuff to do for the 3-finger salute
rebo::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
-sklo:6:wait:/usr/bin/killall klogd
-ssys:6:wait:/usr/bin/killall syslogd
umou:6:wait:/bin/umount -a -r
swap:6:wait:/sbin/swapoff -a