diff options
author | Erich Eckner <git@eckner.net> | 2020-04-26 01:11:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-26 01:11:03 +0200 |
commit | 2410bc7ffc775ec49e6e7913e0b5e37118c1f02a (patch) | |
tree | a4d6ff605edb9def3e326081d758687d54bae136 | |
parent | ba4f8853738fc9afbf95d71c2ac6b830fdcc86cf (diff) | |
download | shutdownasap-2410bc7ffc775ec49e6e7913e0b5e37118c1f02a.tar.xz |
update man page even more
-rw-r--r-- | shutdownasap.1.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/shutdownasap.1.in b/shutdownasap.1.in index 976ca79..d8d9138 100644 --- a/shutdownasap.1.in +++ b/shutdownasap.1.in @@ -2,7 +2,10 @@ .SH NAME shutdownasap \- simple script for \fBshutdown\fP waiting for certain processes and files to disapear .SH SYNOPSIS -\fBshutdownasap\fP +\fBshutdownasap [-q]\fP +.TP +\fB-q\fR +suppress output .SH DESCRIPTION \fBshutdownasap\fP shuts down the computer after a certain directory becomes empty and certain processes are not running. For actually shutting down it calls \fBsudo shutdown\fP. @@ -25,10 +28,10 @@ list of files with process ids whose processes must not be running before shutti routine which is called after start of \fBshutdownasap\fP, before watching above conditions .TP .B "additionalWatchHookFast" -routine which is called repeatedly to check if shutdown is safe (exit code 0) or not (exit code 1) +routine which is called repeatedly to check if shutdown is safe (return 0) or not (return 1) .TP .B "additionalWatchHookSlow" -routine which is called to check if shutdown is safe (exit code 0) or not (exit code 1) when all other checks passed +routine which is called to check if shutdown is safe (return 0) or not (return 1) when all other checks passed .TP .B "beforeShutDownHook" routine which is called before shutting down |