aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-01-10 18:41:14 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-01-10 18:41:14 +0000
commit7da2309c62f0551f0205869fa66d8c0359a4a91c (patch)
tree32dfd71e33b80855f0177776a8cdf5030393697f /README.shutdown
parentMove check for user shutdown into forced-shutdown-check-function. (diff)
downloadgentoo-vdr-scripts-7da2309c62f0551f0205869fa66d8c0359a4a91c.tar.gz
gentoo-vdr-scripts-7da2309c62f0551f0205869fa66d8c0359a4a91c.tar.bz2
gentoo-vdr-scripts-7da2309c62f0551f0205869fa66d8c0359a4a91c.zip
Remove global EXITCODE variable.
svn path=/gentoo-vdr-scripts/trunk/; revision=380
Diffstat (limited to 'README.shutdown')
-rw-r--r--README.shutdown5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.shutdown b/README.shutdown
index df4a7f6..d926a8f 100644
--- a/README.shutdown
+++ b/README.shutdown
@@ -101,6 +101,10 @@ void shutdown_abort_can_force(string message)
But if user presses the power-button again inside a minute (configurable) then shutdown
is forced meaning this condition will not stop shutdown then.
+void shutdown_abort_exit(string message)
+ For special cases!
+ Immediately exit shutdown-process with exitcode 1.
+
bool is_forced_shutdown(void)
Returns true if this shutdown has been forced in the sense of shutdown_abort_can_force.
@@ -111,6 +115,5 @@ void disable_auto_retry(void)
Ouput Variables:
TRY_AGAIN - Sets the time in minutes to wait before shutdown is retried.
- EXITCODE - Used for special abort cases