From owner-freebsd-rc@freebsd.org Wed Aug 24 23:09:58 2016 Return-Path: Delivered-To: freebsd-rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42E59BC5C10 for ; Wed, 24 Aug 2016 23:09:58 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A4A415A0 for ; Wed, 24 Aug 2016 23:09:57 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Type:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hSLLFrl3sYcyORpwkva2x2ndnE8RD497mkMEa217k/8=; b=PClERDHlrAKpSYUrAZes2fwGI8 CeGg7BtZ7ng9oviidHxSrQkdgmf/G71bfxSWdmzm1fWPw6Xrtd4OAZdXuW/ZpLCtuNdoQ09vryBZj rI/fIiJ+qjApbigbve355uHk/amwLFv1Hcns6YXp8PftZekyvBQhcXI/Y1O4j1Y9OT+g=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:26669 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bchIy-0001Ey-IC; Wed, 24 Aug 2016 18:09:56 -0500 Received: from 2001:470:1f0f:42c:e4a9:73a:6eb1:ea87 by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 24 Aug 2016 18:09:56 -0500 MIME-Version: 1.0 Date: Wed, 24 Aug 2016 18:09:56 -0500 From: Larry Rosenman To: Ryan Stone Cc: freebsd-rc@freebsd.org Subject: Re: Can someone explain what I'm missing for this script to work at startup? In-Reply-To: References: <775f07971e09126b4b72527565f2e7d1@thebighonker.lerctr.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.2.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 23:09:58 -0000 On 2016-08-24 16:24, Ryan Stone wrote: > Your script is probably being called with "quietstart" or "faststart" as its argument. I'd recommend using the rc.subr infrastructure for your rc.d scripts to avoid such issues. good call. Changed to rc.subr, and added some variables to appease it, and it now DTRT. THANK YOU. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281