Skip to contentSkip to conversation

fs/skeleton: remove useless logging from inittab

PATCH New Luca Ceresoli 2 participants 2 messages Jul 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/skeleton: remove useless logging from inittab

Currently the default inittab launches a "tail -f /var/log/messages" that remains active during the entire target uptime.
For most embedded systems this is a useless waste of resources, so remove it.

---
 fs/skeleton/etc/inittab |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/skeleton/etc/inittab +0 -1
index b1e5c16..3d0fa5e 100644
@@ -29,7 +29,6 @@ null::sysinit:/bin/hostname -F /etc/hostname
 null::sysinit:/bin/touch /var/log/messages
 null::respawn:/sbin/syslogd -n -m 0
 null::respawn:/sbin/klogd -n
-tty3::respawn:/usr/bin/tail -f /var/log/messages
 
 # Stuff to do for the 3-finger salute
 ::ctrlaltdel:/sbin/reboot
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 fs/skeleton: remove useless logging from inittab

Le Fri, 1 Jul 2011 09:38:51 +0200,
Luca Ceresoli <[email protected]> a ?crit :

Quoted 6 lines

Currently the default inittab launches a "tail -f /var/log/messages" that remains active during the entire target uptime.
For most embedded systems this is a useless waste of resources, so remove it.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com