On Jan 8, 2008 6:38 AM, Paul M <[EMAIL PROTECTED]> wrote: > > might I offer this patch to the /etc/rc file which detects if syslog-ng > is installed and doesn't start clog. > > thanks > Paul > > 151,176c151,172 > < > < pkg_info | grep syslog-ng > /dev/null > < if [ $? -ne 0 ] ; then > < # generate circular logfiles > < if [ ! "$PLATFORM" = "cdrom" ]; then > < clog -i -s 512144 /var/log/system.log > < clog -i -s 512144 /var/log/filter.log > < clog -i -s 65535 /var/log/dhcpd.log > < clog -i -s 65535 /var/log/vpn.log > < clog -i -s 65535 /var/log/openvpn.log > < clog -i -s 65535 /var/log/portalauth.log > < clog -i -s 65535 /var/log/ipsec.log > < clog -i -s 65535 /var/log/slbd.log > < clog -i -s 65535 /var/log/lighttpd.log > < clog -i -s 65535 /var/log/ntpd.log > < else > < clog -i -s 65535 /var/log/system.log > < clog -i -s 65535 /var/log/filter.log > < clog -i -s 65535 /var/log/dhcpd.log > < clog -i -s 65535 /var/log/vpn.log > < clog -i -s 65535 /var/log/openvpn.log > < clog -i -s 65535 /var/log/portalauth.log > < clog -i -s 65535 /var/log/ipsec.log > < clog -i -s 65535 /var/log/slbd.log > < clog -i -s 65535 /var/log/ntpd.log > < fi > --- > > # generate circular logfiles > > if [ ! "$PLATFORM" = "cdrom" ]; then > > clog -i -s 512144 /var/log/system.log > > clog -i -s 512144 /var/log/filter.log > > clog -i -s 65535 /var/log/dhcpd.log > > clog -i -s 65535 /var/log/vpn.log > > clog -i -s 65535 /var/log/openvpn.log > > clog -i -s 65535 /var/log/portalauth.log > > clog -i -s 65535 /var/log/ipsec.log > > clog -i -s 65535 /var/log/slbd.log > > clog -i -s 65535 /var/log/lighttpd.log > > clog -i -s 65535 /var/log/ntpd.log > > else > > clog -i -s 65535 /var/log/system.log > > clog -i -s 65535 /var/log/filter.log > > clog -i -s 65535 /var/log/dhcpd.log > > clog -i -s 65535 /var/log/vpn.log > > clog -i -s 65535 /var/log/openvpn.log > > clog -i -s 65535 /var/log/portalauth.log > > clog -i -s 65535 /var/log/ipsec.log > > clog -i -s 65535 /var/log/slbd.log > > clog -i -s 65535 /var/log/ntpd.log > 185c181 > < mount_devfs devfs /dev > --- > > mount_devfs devfs /dev > 196c192 > < rm -rf /etc/rc.conf > --- > > rm -rf /etc/rc.conf >
Yep, that's it. Scott
