conf/105145: [ppp] [patch] [request] add redial function to rc.d/ppp

Jilles Tjoelker jilles at stack.nl
Wed Oct 31 20:08:10 UTC 2012


On Wed, Oct 31, 2012 at 07:03:58PM +0000, crees at FreeBSD.org wrote:
> Synopsis: [ppp] [patch] [request] add redial function to rc.d/ppp

> State-Changed-From-To: open->feedback
> State-Changed-By: crees
> State-Changed-When: Wed Oct 31 19:03:58 UTC 2012
> State-Changed-Why: 
> Hi Ulrich, I think you should commit this in a couple of weeks if no-one
> has objected; I've cleaned it up a bit and made it fit with the rest of
> the file, so please test it first!
> http://www.bayofrum.net/~crees/patches/105145.diff

Not tested here either, modems are many years ago for me.

Style tweaks:

+			_pidmsg=${pidfile:+ (check $pidfile).}

Please make sure the parentheses are quoted, even though our sh does not
require it. For example, _pidmsg="${pidfile:+ (check $pidfile).}"

+		kill -SIGINT $rc_pid

Leave off the SIG prefix. It is more common to omit it and POSIX does
not require implementations to support the prefix.

The patch looks OK otherwise.

-- 
Jilles Tjoelker


More information about the freebsd-rc mailing list