]> git.proxmox.com Git - mirror_frr.git/commit - vtysh/vtysh.h
vtysh: detangle configuration writes
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 8 Nov 2016 17:22:30 +0000 (18:22 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 9 Nov 2016 12:41:40 +0000 (13:41 +0100)
commitcb947ba3aeb154ea2ad7a55ac09ac624d05978ae
treefad9c6357a8175e85ca058d55493a5c7649615f3
parente227e24231b4a7ef892ccd8ad11c424c6a2d0c43
vtysh: detangle configuration writes

vtysh has a very convoluted and confusing setup where it isn't even
clear which files are written where (since some filenames come
indirectly from loading config).  Detangle.

This also removes writing vtysh.conf.  The file is intended to be
manually edited since it has some vague security concerns (if PAM is
used).

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
vtysh/vtysh.c
vtysh/vtysh.h
vtysh/vtysh_config.c
vtysh/vtysh_main.c