From owner-freebsd-questions@FreeBSD.ORG Sat Dec 23 22:24:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B12416A403 for ; Sat, 23 Dec 2006 22:24:19 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.freebsd.org (Postfix) with ESMTP id A3EB813C461 for ; Sat, 23 Dec 2006 22:24:18 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id D9C7945B5; Sat, 23 Dec 2006 13:24:17 -0900 (AKST) From: Beech Rintoul Organization: Alaska Paradise Travel To: freebsd-questions@freebsd.org Date: Sat, 23 Dec 2006 13:24:08 -0900 User-Agent: KMail/1.9.4 References: <200612231156.05280.beech@alaskaparadise.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612231324.13255.beech@alaskaparadise.com> Cc: "Michael P. Soulier" Subject: Re: not everything coming up on a reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Dec 2006 22:24:19 -0000 On Saturday 23 December 2006 12:36, Michael P. Soulier wrote: > On 12/23/06, Beech Rintoul wrote: > > Do you have ppp-user_enable="yes" in your /etc/rc.conf? > > No, and looking at ppp-user, I don't see why I'd need one. I have > ppp_enable="YES". > > > # PROVIDE: ppp-user > # REQUIRE: netif isdnd > # KEYWORD: nojail > > . /etc/rc.subr > > name="ppp" > rcvar="ppp_enable" > start_cmd="ppp_start" > stop_cmd=":" > > Now, I do notice that the stock script comes with a REQUIRE isdnd as > well as netif. As I'm not running isdn, would that stop rc from > bringing the script up, or are REQUIREs OR'd and not AND'd? > > Mike I forgot to mention, as a workaround if you can't get the rc.d script working you can start it from cron. Just replace the time/day/month variables with "@reboot" and the path to the exicutable. I use it for a couple of things that don't have start scripts. See man(5) crontab for examples. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------