debian: remove redundant delay option

This commit is contained in:
Adam Sutton 2014-01-11 00:50:33 +00:00
parent 07ad772e70
commit c6f8e60053
3 changed files with 0 additions and 7 deletions

View file

@ -47,10 +47,6 @@ TVH_HTSP_PORT=""
# if set to 1 will output debug to syslog
TVH_DEBUG=0
# TVH_DELAY
# if set startup will be delayed N seconds to allow hardware init
TVH_DELAY=""
# TVH_ARGS
# add any other arguments
TVH_ARGS=""

View file

@ -86,7 +86,6 @@ do_stop()
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
[ ! -z "$TVH_DELAY" ] && sleep $TVH_DELAY
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;

View file

@ -28,7 +28,5 @@ script
[ -z "$TVH_HTSP_PORT" ] || ARGS="$ARGS --htsp_port $TVH_HTSP_PORT"
[ "$TVH_DEBUG" = "1" ] && ARGS="$ARGS -s"
[ ! -z "$TVH_DELAY" ] && sleep $TVH_DELAY
exec tvheadend $ARGS $TVH_ARGS
end script