From: Andrew Ruthven Date: Fri, 16 Nov 2007 06:08:30 +0000 (+1300) Subject: Debian - Allow passing extra arguments to mythtv-status in the init script. X-Git-Tag: 0.5~37 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8ce0cc250ee2a658583ddb1d9496a0c9733b7f;p=mythtv-status.git Debian - Allow passing extra arguments to mythtv-status in the init script. --- diff --git a/debian/init.d b/debian/init.d index 3012c80..4113d20 100644 --- a/debian/init.d +++ b/debian/init.d @@ -72,7 +72,7 @@ case "$1" in cp /var/run/motd.orig /var/run/motd.new - if $DAEMON -h $HOST >> /var/run/motd.new + if $DAEMON $ARGS -h $HOST >> /var/run/motd.new then mv /var/run/motd.new /var/run/motd fi diff --git a/debian/postinst b/debian/postinst index 863b8fe..fc12623 100644 --- a/debian/postinst +++ b/debian/postinst @@ -45,6 +45,10 @@ RUN=$RUN # HOST: # What host should be check the status on? HOST=$HOST + +# ARGS: +# Any extra arguments to pass to mythtv-status (i.e., -e and/or -d). +ARGS=$ARGS _eof db_stop