# Fedora style
[ -r /etc/sysconfig/mythtv-status ] && . /etc/sysconfig/mythtv-status
+# Support the old RUN variable
+[ x$UPDATE_MOTD = x ] && UPDATE_MOTD=$RUN
+
if [ x$UPDATE_MOTD != xyes -o -f /var/lib/mythtv-status/motd_update_disabled ]
then
exit
cp $STUBFILE $TEMPFILE
fi
+# Support the old ARGS variable
+[ x$UPDATE_MOTD_ARGS = x ] && UPDATE_MOTD_ARGS=$ARGS
ret=0
mythtv-status $UPDATE_MOTD_ARGS -h $HOST >> $TEMPFILE || ret=$?
. /etc/default/$NAME
fi
+# Support the old RUN variable
+[ x$UPDATE_MOTD = x ] && UPDATE_MOTD=$RUN
+
# Use this if you want the user to explicitly set 'UPDATE_MOTD' in
# /etc/default/mythtv-status
if [ "x$UPDATE_MOTD" != "xyes" ] ; then