Update of /cvsroot/leaf/src/bering-uclibc/apps/ulogd
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25956

Modified Files:
        buildtool.cfg ulogd_daily 
Log Message:
make the logrotating scripts visable in the config menu and extend the daily 
script to support multiple logfiles

Index: buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/ulogd/buildtool.cfg,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** buildtool.cfg       29 Nov 2006 21:40:10 -0000      1.9
--- buildtool.cfg       2 Dec 2006 22:59:36 -0000       1.10
***************
*** 53,57 ****
        <ulogd>
                Version = 1.24
!               Revision = 3
  
                Help <<EOF
--- 53,57 ----
        <ulogd>
                Version = 1.24
!               Revision = 4
  
                Help <<EOF
***************
*** 120,124 ****
--- 120,126 ----
                                Source          = etc/cron.daily/ulogd
                                Filename        = etc/cron.daily/ulogd
+                               Description     = ulogd daily logrotating 
                                Type            = local
+                               Type            = conf
                                Type            = binary
                                Permissions = 755
***************
*** 127,131 ****
--- 129,135 ----
                                Source          = etc/cron.weekly/ulogd
                                Filename        = etc/cron.weekly/ulogd
+                               Description     = ulogd weekly logrotating 
                                Type            = local
+                               Type            = conf
                                Type            = binary
                                Permissions = 755

Index: ulogd_daily
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/ulogd/ulogd_daily,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ulogd_daily 27 Jun 2004 18:24:59 -0000      1.1
--- ulogd_daily 2 Dec 2006 22:59:36 -0000       1.2
***************
*** 1,10 ****
  #!/bin/sh
! # Save daily LOGDEPTH versions of syslogfile 
  LOGDEPTH=4
! # syslogfile name
! LOGFILE=/var/log/shorewall.log
  
! if [ -f $LOGFILE ]; then
!       savelog -g wheel -m 640 -u root -c $LOGDEPTH $LOGFILE >/dev/null
!       /etc/init.d/ulogd reload
! fi
--- 1,12 ----
  #!/bin/sh
! # Save daily LOGDEPTH versions of logfile 
  LOGDEPTH=4
! # Space separated list of logfiles
! LOGFILE="/var/log/shorewall.log"
  
! for log in $LOGFILE ; do
!     if [ -f $log ]; then
!       savelog -g wheel -m 640 -u root -c $LOGDEPTH $log >/dev/null
!     fi
! done
! /etc/init.d/ulogd reload


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to