mythtv-update-motd - Man Page
update the MOTD with a MythTV backend status
Synopsis
mythtv-update-motd
Description
Update the system MOTD with the status of a MythTV backend. It is typically run from cron.
Configuration
The configuration file for this script is /etc/sysconfig/mythtv-status options of interest:
- HOST
The host to check, by default this is localhost.
- UPDATE_MOTD
Should this script run? Set to yes to enable, anything else to disable.
- UPDATE_MOTD_ARGS
Any additional arguments you'd like to have run if the MOTD is updated by this script.
You can also disable this script from running by creating a file called /var/lib/mythtv-status/motd_update_disabled. If you run either:
systemctl stop mythtv-status
or
/etc/init.d/mythtv-status stop
this will be done for you, and will remove the most recent motd snippet.
Options
None
Exit Status
- 0
Updated MOTD with MythTV status
- 1
Failed to update MOTD with MythTV status
Files
/etc/sysconfig/mythtv-status Config file
See Also
Author
mythtv-update-motd and this manpage were written by Andrew Ruthven <andrew@etc.gen.nz>.