cvs commit: LFS/bootscripts/lfs/sysconfig sysklogd

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Sun May 16 17:09:07 PDT 2004


winkie      04/05/16 18:09:07

  Modified:    bootscripts Makefile
               bootscripts/lfs/init.d sysklogd
  Added:       bootscripts/lfs/sysconfig sysklogd
  Log:
  Add sysklogd configuration file
  
  Revision  Changes    Path
  1.39      +1 -0      LFS/bootscripts/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/Makefile,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Makefile	15 May 2004 19:51:20 -0000	1.38
  +++ Makefile	17 May 2004 00:09:06 -0000	1.39
  @@ -65,6 +65,7 @@
   	#install -m 644 lfs/sysconfig/console                         ${EXTDIR}/sysconfig/
   	install -m 644 lfs/sysconfig/createfiles                     ${EXTDIR}/sysconfig/
   	install -m 644 lfs/sysconfig/rc                              ${EXTDIR}/sysconfig/
  +	install -m 644 lfs/sysconfig/sysklogd                        ${EXTDIR}/sysconfig/
   	install -m 754 lfs/sysconfig/network-devices/ifup            ${EXTDIR}/sysconfig/network-devices
   	install -m 754 lfs/sysconfig/network-devices/ifdown          ${EXTDIR}/sysconfig/network-devices
   	install -m 754 lfs/sysconfig/network-devices/services/static ${EXTDIR}/sysconfig/network-devices/services
  
  
  
  1.2       +5 -2      LFS/bootscripts/lfs/init.d/sysklogd
  
  Index: sysklogd
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/sysklogd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sysklogd	17 Mar 2004 22:24:23 -0000	1.1
  +++ sysklogd	17 May 2004 00:09:06 -0000	1.2
  @@ -7,13 +7,16 @@
   . /etc/sysconfig/rc
   . $rc_functions
   
  +# Include the boot-time configuration options.
  +[ -f /etc/sysconfig/sysklogd ] && . /etc/sysconfig/sysklogd
  +
   case "$1" in
   	start)
   		echo "Starting system log daemon..."
  -		loadproc syslogd -m 0
  +		loadproc syslogd $SYSLOGD_OPTIONS
   
   		echo "Starting kernel log daemon..."
  -		loadproc klogd
  +		loadproc klogd $KLOGD_OPTIONS
   		;;
   
   	stop)
  
  
  
  1.1                  LFS/bootscripts/lfs/sysconfig/sysklogd
  
  Index: sysklogd
  ===================================================================
  SYSLOGD_OPTIONS="-m 0"
  #KLOGD_OPTIONS="-c 2"
  
  
  



More information about the lfs-book mailing list