[1.16.2] Can't stop "ping" with CTRL+c
Gilles
codecomplete at free.fr
Mon Jul 4 16:55:42 UTC 2011
On Mon, 04 Jul 2011 10:28:39 -0400, Chuck Meade
<chuckmeade at mindspring.com> wrote:
> http://www.busybox.net/FAQ.html#job_control
Thanks for the tip. Busybox's inittab doesn't mention /dev/console:
===============
# Startup the system
console::sysinit:/bin/sh /etc/rc
# Set up a console shell
console::respawn:/bin/login -f root
# Misc services
null::respawn:/sbin/inetd -f
#null::respawn:/sbin/watchdog -F -T 20 -t 10 /dev/watchdog
# Logging junk
null::sysinit:/bin/touch /var/log/messages
null::respawn:/sbin/syslogd -n -m 0
null::respawn:/sbin/klogd -n
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
null::shutdown:/bin/killall klogd
null::shutdown:/bin/killall syslogd
null::shutdown:/bin/umount -a -r
===============
Should I edit inittab or /etc/rc so that it includes "exec setsid sh
-c 'exec sh </dev/tty1 >/dev/tty1 2>&1'"?
Thank you.
More information about the busybox
mailing list