Source-Changes-D archive

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

Re: CVS commit: src/etc/rc.d



On Tue, 4 Dec 2012 17:39:42 +0100
Marc Balmer <marc%msys.ch@localhost> wrote:

> 
> Am 04.12.2012 um 17:38 schrieb "Patrick Welche" <prlw1%NetBSD.org@localhost>:
> 
> > Module Name:        src
> > Committed By:       prlw1
> > Date:               Tue Dec  4 16:38:40 UTC 2012
> > 
> > Modified Files:
> >     src/etc/rc.d: ntpd ppp
> > 
> > Log Message:
> > Make sure that ntpd creates a pid file for the rc machinery to work.
> > http://mail-index.netbsd.org/current-users/2012/11/19/msg021518.html
> 
> How is that related to ppp?  Was that an accidental commit?

I don't know, but I think an entry for ppp should be added to
etc/defaults/rc.conf.

kind regards
dieter

> 
> > 
> > Please note that diffs are not public domain; they are subject to the
> > copyright notices on the relevant files.
> > 
> > 
> > Index: src/etc/rc.d/ppp
> > diff -u src/etc/rc.d/ppp:1.8 src/etc/rc.d/ppp:1.9
> > --- src/etc/rc.d/ppp:1.8    Mon Oct 11 15:00:51 2004
> > +++ src/etc/rc.d/ppp        Tue Dec  4 16:38:40 2012
> > @@ -1,6 +1,6 @@
> > #!/bin/sh
> > #
> > -# $NetBSD: ppp,v 1.8 2004/10/11 15:00:51 christos Exp $
> > +# $NetBSD: ppp,v 1.9 2012/12/04 16:38:40 prlw1 Exp $
> > #
> > 
> > # PROVIDE: ppp
> > @@ -14,6 +14,7 @@
> > $_rc_subr_loaded . /etc/rc.subr
> > 
> > name="ppp"
> > +rcvar=$name
> > start_cmd="ppp_start"
> > stop_cmd="ppp_stop"
> > sig_stop="-INT"
> > @@ -40,6 +41,8 @@ ppp_start()
> >                     fi
> >             done
> >             echo "."
> > +   else
> > +           warn "\${ppp_peers} is not set - pppd was not started."
> >     fi
> > }
> > 
> > 
> 


Home | Main Index | Thread Index | Old Index