]> git.puffer.fish Git - matthieu/frr.git/commit
lib: vty_stdio signal handling
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 1 Jun 2017 14:02:23 +0000 (16:02 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 2 Aug 2017 00:59:51 +0000 (02:59 +0200)
commit154b9e8f9f08f5be2d3d84f7565e3ce7921b8b35
tree8604dc623700f77649eb13eee3822e08ad1a7302
parentcff2b2112e493ac875f1cc31ae0df4f1c13e4a90
lib: vty_stdio signal handling

- SIGTSTP appropriately suspends the foreground terminal
- SIGINT causes the daemon to exit, regardless of -d
- SIGQUIT causes the daemon to daemonize, regardless of -d

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac
lib/grammar_sandbox_main.c
lib/libfrr.c
lib/vty.c
lib/vty.h
tests/lib/cli/common_cli.c