projects
/
mythtv-status.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b745110
)
Add support for $ARGS.
author
Andrew Ruthven
<andrew@etc.gen.nz>
Mon, 7 Jan 2008 17:56:41 +0000
(06:56 +1300)
committer
Andrew Ruthven
<andrew@etc.gen.nz>
Sat, 12 Jan 2008 04:04:11 +0000
(17:04 +1300)
bin/mythtv-update-motd
patch
|
blob
|
history
diff --git
a/bin/mythtv-update-motd
b/bin/mythtv-update-motd
index 543117f53872047a2bbac8c70e4c84980cdd33f9..d58aa411714b9c9c63265c41b836e229f6886f94 100755
(executable)
--- 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