summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shutdownasap.1.in9
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