Re: rc.shutdown powerdown

Fred <[email protected]> Sun, 20 Sep 2015 21:55:58 +0100
Newsgroups gmane.os.openbsd.misc,gmane.os.openbsd.www
Message-ID <[email protected]>
On 09/20/15 21:44, Quartz wrote:
> On Sep 20 4:36 PM, Fred wrote:
>> On 09/20/15 20:58, Quartz wrote:
>>>> Powerdown went away in July 2014.
>>>
>>> The FAQ needs to be updated then:
>>>
>>> http://www.openbsd.org/faq/faq10.html
>>>
>>> "rc.shutdown
>>>
>>> /etc/rc.shutdown is a script that is run at shutdown. Anything you want
>>> done before the system shuts down should be added to this file. If you
>>> have apm, you can also set "powerdown=YES", which will give you the
>>> equivalent of "shutdown -p".
>>> "

Sorry misread your post.

The following diff removes the misleading entry from faq10:

--- faq10.html	Sun Sep 20 21:50:41 2015
+++ faq10nopower.html	Sun Sep 20 21:52:51 2015
@@ -298,8 +298,6 @@ and adding the daemon name to the <tt>pkg_scripts</tt>
  <p>
  <i>/etc/rc.shutdown</i> is a script that is run at shutdown. Anything
  you want done before the system shuts down should be added to this file.
-If you have apm, you can also set &quot;powerdown=YES&quot;, which will
-give you the equivalent of &quot;shutdown -p&quot;.

  <h2 id="vipw">10.8 - I edited /etc/passwd, but the changes didn't seem 
to take
  place. Why?</h2>