]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Add support for $ARGS.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 7 Jan 2008 17:56:41 +0000 (06:56 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Mon, 7 Jan 2008 17:56:41 +0000 (06:56 +1300)
bin/mythtv-update-motd

index 543117f53872047a2bbac8c70e4c84980cdd33f9..d58aa411714b9c9c63265c41b836e229f6886f94 100755 (executable)
@@ -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