From: Andrew Ruthven Date: Mon, 7 Jan 2008 17:56:41 +0000 (+1300) Subject: Add support for $ARGS. X-Git-Tag: 0.7.0~5^2~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a42b97acef5dfd467e9c5a45c4bd3248fedd1156;p=mythtv-status.git Add support for $ARGS. --- diff --git a/bin/mythtv-update-motd b/bin/mythtv-update-motd index 543117f..d58aa41 100755 --- a/bin/mythtv-update-motd +++ b/bin/mythtv-update-motd @@ -10,7 +10,7 @@ fi [ ! -f /var/run/motd.orig ] && cp /var/run/motd /var/run/motd.orig cp /var/run/motd.orig /var/run/motd.new -if mythtv-status -h $HOST >> /var/run/motd.new +if mythtv-status $ARGS -h $HOST >> /var/run/motd.new then mv /var/run/motd.new /var/run/motd fi