summaryrefslogtreecommitdiff
path: root/shutdownasap.1.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-26 01:11:22 +0200
committerErich Eckner <git@eckner.net>2020-04-26 01:11:22 +0200
commitacadd862152c0c6978d97ed5737db88c36a7f485 (patch)
tree4e623b54ea048c855926e16613a8b39a604501af /shutdownasap.1.in
parent2410bc7ffc775ec49e6e7913e0b5e37118c1f02a (diff)
downloadshutdownasap-acadd862152c0c6978d97ed5737db88c36a7f485.tar.xz
can now reboot with -r
Diffstat (limited to 'shutdownasap.1.in')
-rw-r--r--shutdownasap.1.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/shutdownasap.1.in b/shutdownasap.1.in
index d8d9138..51c804c 100644
--- a/shutdownasap.1.in
+++ b/shutdownasap.1.in
@@ -2,13 +2,16 @@
.SH NAME
shutdownasap \- simple script for \fBshutdown\fP waiting for certain processes and files to disapear
.SH SYNOPSIS
-\fBshutdownasap [-q]\fP
+\fBshutdownasap [-q] [-r]\fP
.TP
\fB-q\fR
suppress output
+.TP
+\fB-r\fR
+reboot instead of shutdown
.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.
+For actually shutting down it calls \fBsudo shutdown\fP or \fBsudo reboot\fP for reboot.
.SH CONFIGURATION
The configfile \fB#ETCDIR#/shutdownasap.conf\fP is a bash script, which defines the following variables and routines:
.TP