From nobody Sat Jan 27 22:31:18 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TMq6K3jqzz593Yd for ; Sat, 27 Jan 2024 22:31:21 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TMq6K19j8z4D3q for ; Sat, 27 Jan 2024 22:31:21 +0000 (UTC) (envelope-from johnl@iecc.com) Authentication-Results: mx1.freebsd.org; none Received: (qmail 19911 invoked from network); 27 Jan 2024 22:31:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=4dc365b58437.k2401; bh=95ePvyRWblDJHBZtn2Ty3/S1ZW/qpbX2fQfBZLR5TQU=; b=vPeqpY2o71e/V17/0o4hlDj26falJOEiu2KIt0Jwp00SSY6C3/cg4nAMuwi6g967sdgbrRMGQECLFxHWJ7lrgotAw6W8qcGnMnbs63CJfF8S/NNHdFSkEIOeZb4BwkFWkONBE1pJ9SZDcunYCyvsnWQ1AolxTkQN0M6G+FkU8CfPtRzD/5ifsv11j0YxIP4cj/CAb3Fp2nMhzXaTeh7Gspy+B1gNhzOR1DP28/kQxUwPGtgY3wXhAX8dW7EWKRoeKVraUgUOSvyCvRIgn5U3tkNAHVZCD8yWKq4OdtZTdXeooItjpMRTMKEaQ9eL6YqHbsJFsD3R5oAvybmYZu/vrw== Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA CHACHA20-POLY1305 AEAD) via TCP6; 27 Jan 2024 22:31:19 -0000 Received: by ary.qy (Postfix, from userid 501) id E0EF081B1820; Sat, 27 Jan 2024 17:31:18 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id 3CBE681B1802; Sat, 27 Jan 2024 17:31:18 -0500 (EST) Date: 27 Jan 2024 17:31:18 -0500 Message-ID: <4eaf8b39-023f-d08f-ef2d-3d00e4add610@iecc.com> From: "John R. Levine" To: "Juan Manuel Palacios" Cc: freebsd-questions@freebsd.org X-X-Sender: johnl@ary.qy Subject: Re: Moving /etc/rc.conf.local to /usr/local/etc/rc.conf In-Reply-To: References: <20240106214844.5B9DA7FE2A02@ary.qy> <158D9F44-5633-4B4E-A781-834574F42F67@gmail.com> <73678f67-e49f-365a-da09-5575619d736b@iecc.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Rspamd-Queue-Id: 4TMq6K19j8z4D3q X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] > I know you can customize the rc_conf_files variable to hold a value with > my files of choice, but that in itself implies customizing /etc/rc.conf > to override rc_conf_files’ default value, which defeats the purpose of > keeping all customizations to /usr/local/etc. I didn't write this stuff, I just use it. The rc.conf stuff is just shell scripts so you can look at each script to see what it does. You will probably find there's no way around putting config stuff in /etc/rc.conf. Whenever I spin up a FreeBSD VPS, there's always a custom rc.conf with the hostname, IP address, and so forth. Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly