]> git.puffer.fish Git - mirror/frr.git/commit
lib: Modify 'banner motd file <X>'
authorDonald Sharp <sharpd@cumulusnetwroks.com>
Fri, 22 Jul 2016 23:50:51 +0000 (19:50 -0400)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Fri, 22 Jul 2016 23:50:51 +0000 (19:50 -0400)
commit1ee08155dac77fb5a28f64e94df4dd6f7a7d3f3b
tree8822a6c5d52f44b1b17ccfaab659a2e91fbec0bf
parent6ac9179ca77086c96a3c0a5de03420ec8b830db3
lib: Modify 'banner motd file <X>'

Modify the banner motd file X command to do these things
differently:

1)  Only allow the file <X> to be in SYSCONFDIR
2)  Only allow the user to use a file that exists.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
lib/command.c