[busybox] At boot, the startup process is executed in a non-interactive shell. Defaul...
[openwrt.git] / package / busybox / patches / 902-telnetd_intr.patch
1 diff --git a/networking/telnetd.c b/networking/telnetd.c
2 index 2a0ace5..c281feb 100644
3 --- a/networking/telnetd.c
4 +++ b/networking/telnetd.c
5 @@ -308,6 +308,7 @@ make_new_session(
6  
7         /* Restore default signal handling ASAP */
8         bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
9 +       signal(SIGINT, SIG_DFL);
10  
11         /* Make new session and process group */
12         setsid();