diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | etc/conf.d/vdr.shutdown | 8 | ||||
-rw-r--r-- | usr/lib/vdr/bin/vdrshutdown-gate.sh | 4 |
3 files changed, 14 insertions, 2 deletions
@@ -1,6 +1,10 @@ # ChangeLog for gentoo-vdr-scripts # $Id$ + 21 Mar 2006; Matthias Schwarzott <zzam@gentoo.org> + etc/conf.d/vdr.shutdown, usr/lib/vdr/bin/vdrshutdown-gate.sh: + made shutdown retry time configurable + 18 Mar 2006; Matthias Schwarzott <zzam@gentoo.org> +README.shutdown: added description of shutdown-addon-modules diff --git a/etc/conf.d/vdr.shutdown b/etc/conf.d/vdr.shutdown index 86da390..8122336 100644 --- a/etc/conf.d/vdr.shutdown +++ b/etc/conf.d/vdr.shutdown @@ -115,3 +115,11 @@ # allowed values: number of seconds # default: 60 seconds #SHUTDOWN_FORCE_DETECT_INTERVALL="60" + +# +# When shutdown is aborted the default-time to retry +# the shutdown +# allowed values: number of minutes +# default: 10 minutes +#SHUTDOWN_DEFAULT_RETRY_TIME="10" + diff --git a/usr/lib/vdr/bin/vdrshutdown-gate.sh b/usr/lib/vdr/bin/vdrshutdown-gate.sh index d7fc2c2..74b55d9 100644 --- a/usr/lib/vdr/bin/vdrshutdown-gate.sh +++ b/usr/lib/vdr/bin/vdrshutdown-gate.sh @@ -23,7 +23,7 @@ VDR_TIMER_CHANNEL="${3}" VDR_TIMER_FILENAME="${4}" VDR_USERSHUTDOWN="${5}" -: ${DEFAULT_RETRY_TIME:=5} +: ${SHUTDOWN_DEFAULT_RETRY_TIME:=10} queue_add_wait() { @@ -97,7 +97,7 @@ is_forced_shutdown() { shutdown_common() { ABORT_MESSAGE="${1}" SHUTDOWN_ABORT="1" - TRY_AGAIN="${DEFAULT_RETRY_TIME}" + TRY_AGAIN="${SHUTDOWN_DEFAULT_RETRY_TIME}" } shutdown_abort() { |