[SM-Commit] PERFORCE change 78849 by Jeremy Blosser for review

Perforce Review Daemon p4review at smee.org
Tue May 2 18:30:02 EDT 2006


Change 78849 by jeremy_blosser at jeremy_blosser-shale on 2006/05/02 23:26:59

	Add an /etc/sysconfig/sysklogd file for extra options.

Affected files ...

... //sgl/grimoires/devel/utils/sysklogd/DETAILS#4 edit
... //sgl/grimoires/devel/utils/sysklogd/HISTORY#7 edit
... //sgl/grimoires/devel/utils/sysklogd/init.d/sysklogd#2 edit
... //sgl/grimoires/devel/utils/sysklogd/init.d/sysklogd.conf#1 add

Differences ...

==== //sgl/grimoires/devel/utils/sysklogd/DETAILS#4 (xtext) ====

@@ -1,5 +1,6 @@
            SPELL=sysklogd
          VERSION=1.4.1
+      PATCHLEVEL=1
           SOURCE=$SPELL-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
    SOURCE_URL[0]=http://www.ibiblio.org/pub/Linux/system/daemons/$SOURCE

==== //sgl/grimoires/devel/utils/sysklogd/HISTORY#7 (text) ====

@@ -1,3 +1,8 @@
+2006-05-02 Jeremy Blosser <jblosser-smgl at firinn.org>
+	* init.d/sysklogd{,.conf}: Add a sysconfig conf file to allow passing
+	  extra args (like -r) to syslogd and klogd.
+	* DETAILS: PATCHLEVEL=1 to make sure people get this all at once.
+
 2006-03-12 Karsten Behrmann <BearPerson at sourcemage.org>
 	* DETAILS: (automated) Add KEYWORDS
 

==== //sgl/grimoires/devel/utils/sysklogd/init.d/sysklogd#2 (text) ====

@@ -5,12 +5,13 @@
 PROVIDES=syslog
 
 . /etc/init.d/smgl_init
+. /etc/sysconfig/sysklogd
 
 case $1 in
   start)    echo "Starting system log daemon..."
-            loadproc /sbin/syslogd -m 60
+            loadproc /sbin/syslogd -m 60 $SYSLOGD_OPTS
             echo "Starting kernel log daemon..."
-            loadproc /sbin/klogd
+            loadproc /sbin/klogd $KLOGD_OPTS
             ;;
 
   restart)  $0 stop



More information about the SM-Commit mailing list