Bug 173202

Summary: [patch] ACPICONF(8) does not have -k option documented.
Product: Documentation Reporter: jb.1234abcd
Component: Books & ArticlesAssignee: Joel Dahl <joel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description jb.1234abcd 2012-10-30 03:50:00 UTC
$ cat /etc/rc.suspend
..
        # Notify the kernel to continue the suspend process
        /usr/sbin/acpiconf -k 0
..

$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]

ACPICONF(8) does not have -k option documented.

Fix: 

$ find /usr/src/ -iname "*acpiconf*"
..
/usr/src/usr.sbin/acpi/acpiconf/acpiconf.8

Update ACPICONF(8) as follows:
..
-k ack          Notification to kernel about pending suspend request.
                ack = 0 - no error (continue suspend)
                      non-0 - error no (abort suspend)
..
How-To-Repeat: as above
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-10-30 07:30:16 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

reclassify.
Comment 2 Joel Dahl freebsd_committer freebsd_triage 2013-04-21 11:43:49 UTC
State Changed
From-To: open->closed

The -k flag is undocumented on purpose according to the log message in 
revision 170976. I'm closing this PR. Thanks for the bug report. 


Comment 3 Joel Dahl freebsd_committer freebsd_triage 2013-04-21 11:43:49 UTC
Responsible Changed
From-To: freebsd-doc->joel

Close.