summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-06-15 17:59:13 -0700
committerBob Gilligan <gilligan@vyatta.com>2011-06-15 17:59:13 -0700
commit9d365d92d3eac9e7242a3d2314ca2d86cce89e75 (patch)
tree72187efebc3673eefedd4889e303d3b14747465a /Makefile.am
parentc129847cd7bbd2731e5ae83594c7b6d5e1cd1395 (diff)
downloadvyatta-cfg-9d365d92d3eac9e7242a3d2314ca2d86cce89e75.tar.gz
vyatta-cfg-9d365d92d3eac9e7242a3d2314ca2d86cce89e75.zip
Bugfix 6767: Syslog any errors from rmmod instead of writing to log file.
Also rotate the config related log files under /var/log/vyatta so that they don't fill up the root filesystem.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8bcd723..f01ea8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@ SUBDIRS = . perl_dmod
share_perl5dir = /opt/vyatta/share/perl5/Vyatta
completiondir = /etc/bash_completion.d
initddir = /etc/init.d
+logrotatedir = /etc/logrotate.d
defaultdir = /etc/default
etc_shell_leveldir = $(sysconfdir)/shell/level
dhcphookdir = /etc/dhcp3/dhclient-exit-hooks.d
@@ -17,6 +18,7 @@ AM_LFLAGS = --prefix=yy_`basename $* .l`_ -olex.yy.c
completion_DATA = etc/bash_completion.d/vyatta-cfg
initd_SCRIPTS = etc/init.d/vyatta-router
dhcphook_SCRIPTS = scripts/vyatta-dhclient-hook
+logrotate_DATA = etc/logrotate.d/vyatta-config-logs
src/cparse/cparse.cpp: src/cparse/cparse.ypp src/cparse/cparse_def.h
bison -p cparse_ --defines=src/cparse/cparse.h -o $@ $<