From: James Hannah Date: Sun, 2 Jun 2013 10:30:57 +0000 (+0100) Subject: Bring the TVH_ARGS variable into the Debian init script X-Git-Tag: v3.9~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F277%2Fhead;p=thirdparty%2Ftvheadend.git Bring the TVH_ARGS variable into the Debian init script This is defined in the Defaults file but then not included in the init script. --- diff --git a/debian/tvheadend.init b/debian/tvheadend.init index b4aea9cbd..0996cbaa9 100644 --- a/debian/tvheadend.init +++ b/debian/tvheadend.init @@ -37,6 +37,7 @@ ARGS="-f" [ -z "$TVH_HTTP_PORT" ] || ARGS="$ARGS --http_port $TVH_HTTP_PORT" [ -z "$TVH_HTTP_ROOT" ] || ARGS="$ARGS --http_root $TVH_HTTP_ROOT" [ -z "$TVH_HTSP_PORT" ] || ARGS="$ARGS --htsp_port $TVH_HTSP_PORT" +[ -z "$TVH_ARGS" ] || ARGS="$ARGS $TVH_ARGS" [ "$TVH_DEBUG" = "1" ] && ARGS="$ARGS -s" # Load the VERBOSE setting and other rcS variables