Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: root.mail fix
To:
Mikhail <mp39590@gmail.com>
Cc:
tech@openbsd.org
Date:
Wed, 13 Mar 2024 15:31:36 +0000

Download raw body.

Thread
  • Mikhail:

    root.mail fix

    • Stuart Henderson:

      root.mail fix

On 2024/03/13 18:27, Mikhail wrote:
> Was it the intention to use /etc/rc.conf, and not /etc/rc?
> 
> Also keep 80 line width
> 
> 
> diff /usr/src
> commit - 8f98edf9737901e9c2838f35a74e5fa58dbd408d
> path + /usr/src
> blob - 650f01c4e2b984333d494388c05f9f5a225d005c
> file + etc/root/root.mail
> --- etc/root/root.mail
> +++ etc/root/root.mail
> @@ -34,8 +34,8 @@ Significant efforts were made to centralize all system
>  /etc directory.  You should be able to find each of the configuration files
>  you seek there, lightly documented.  In particular, much of the configuration
>  has been centralized in the file /etc/rc.conf.  You should not need to ever
> -edit the file /etc/rc.   The files /etc/rc.securelevel and /etc/rc.local exist
> -for this purpose; the first is run before the system has gone into secure
> +edit the file /etc/rc.conf. The files /etc/rc.securelevel and /etc/rc.local
> +exist for this purpose; the first is run before the system has gone into secure
>  mode; the second is run afterwards (if in doubt, add your tools to rc.local).
>  
>  Please refer to our web pages for any other questions you might have.
> 

No, /etc/rc is correct there, that bit is talking about the startup
scripts not config files.

Editing rc.conf vs rc.conf.local or using rcctl is a separate thing.