Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d oops; forgot to retain previous setting of $_flags ...



details:   https://anonhg.NetBSD.org/src/rev/4019f3feb045
branches:  trunk
changeset: 522478:4019f3feb045
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Feb 20 01:49:59 2002 +0000

description:
oops; forgot to retain previous setting of $_flags (aka $syslogd_flags)
which adding "-P /var/run/syslogd.sockets"...

diffstat:

 etc/rc.d/syslogd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 424fb12f1179 -r 4019f3feb045 etc/rc.d/syslogd
--- a/etc/rc.d/syslogd  Wed Feb 20 01:34:19 2002 +0000
+++ b/etc/rc.d/syslogd  Wed Feb 20 01:49:59 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: syslogd,v 1.9 2002/01/18 10:48:41 lukem Exp $
+# $NetBSD: syslogd,v 1.10 2002/02/20 01:49:59 lukem Exp $
 #
 
 # PROVIDE: syslogd
@@ -46,7 +46,7 @@
        #
        if [ -s $_sockfile ]; then
                echo "/var/run/log" >> $_sockfile
-               _flags="-P $_sockfile"
+               _flags="-P $_sockfile $_flags"
        fi
 
        return 0



Home | Main Index | Thread Index | Old Index