Lines Matching +full:suspend +full:- +full:in +full:- +full:wait

7 .\" Redistribution and use in source and binary forms, with or without
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
48 Only the events specified in the
54 invokes the sequence of commands specified in the configuration file.
57 is running with monitoring suspend/standby requests,
61 built-in functions in the configuration file.
66 .Bl -tag -width f_file
68 Starts in debug mode.
71 to execute in the foreground instead of in daemon mode.
75 to be used in place of the default
118 commands specified in the configuration file and then continues
121 specified, one at a time and in the order that they are listed.
125 is processing the command list for SUSPEND/STANDBY requests, the APM kernel
143 .Bd -literal
157 command 3 times and wait for a while, then execute
159 to put the system in the suspend state.
160 .Bl -bullet
163 .Bd -ragged -offset indent
170 .Bd -ragged -offset indent
175 .Bl -item
177 - Events ignored by the kernel if
181 .Bl -tag -width USERSUSPENDREQ -compact -offset indent
185 should include sync in the command list,
187 should include sync in the command list,
189 only zzz should be specified in the command list.
192 - Events passed to
196 .Bl -tag -width USERSUSPENDREQ -compact -offset indent
211 .Bd -ragged -offset indent
224 for double-quotation enclosed command execution, just as with
226 Each command is executed in order until the end of
227 the list is reached or a command finishes with a non-zero status code.
235 Built-in functions
236 .Bd -ragged -offset indent
239 built-in functions instead of command lines.
240 A built-in function name should be terminated with a semicolon,
242 The following built-in functions are currently supported:
243 .Bl -item
245 .Bl -tag -width ".It - reject"
246 .It - reject
249 a SUSPEND request when the LCD is closed and put the system in a
256 .Bl -tag -width /etc/apmd.conf -compact
263 .Bd -literal
265 exec "/etc/rc.suspend apm suspend";
271 exec "apm -z";
275 exec "/etc/rc.resume apm suspend";
286 # exec "kill -HUP `cat /var/run/moused.pid`";
289 # suspend request event configuration for ATA HDD users:
290 # execute standby instead of suspend.
296 # exec "apm -Z";
305 utility appeared in
311 .An -nosplit