MYTHTV-UPDATE-MOTD(1)

πŸ“¦ version 1.0.1, in debian bookworm, ubuntu jammy

πŸ’– MYTHTV-UPDATE-MOTD β€” the manual, but make it cute πŸ’–

okay so bestie, welcome to the mythtv-update-motd page from the General Commands Manual section. it's a lil command, it's got one job, and honestly? it does it flawlessly. let's get into it 🫢


✨ NAME ✨

mythtv-update-motd β€” updates the MOTD with a MythTV backend status. that's the whole vibe. periodt πŸ’…


✨ SYNOPSIS ✨

mythtv-update-motd

no flags, no args, no drama. just run it. πŸ‘‘


✨ DESCRIPTION ✨

so what it does is: it updates the system MOTD (that lil message-of-the-day thing you see when you log in) with the status of a MythTV backend. and here's the tea β€” it's typically run from cron. yes bestie, this is a set-it-and-forget-it icon, it just does its thing on schedule. 🌸


✨ CONFIGURATION ✨

the config file for this script is /etc/default/mythtv-status, and these are the options of interest:

  • HOST β€” the host to check. by default this is localhost. 🏠
  • UPDATE_MOTD β€” should this script even run? set it to yes to enable it, and literally anything else to disable it. yes, anything else. it's giving "if you're not gonna say yes with your whole chest, it's a no". πŸ’€
  • UPDATE_MOTD_ARGS β€” any additional arguments you'd like to have run if the MOTD is updated by this script. sprinkle in extra args like seasoning. πŸ“

you can ALSO stop this script from running by creating a file called /var/lib/mythtv-status/motd_update_disabled. (a whole file just to say "not today". iconic behaviour honestly.) πŸŽ€

and if you run either of these:

systemctl stop mythtv-status

or

/etc/init.d/mythtv-status stop

then that ^ will be done for you β€” and it'll also remove the most recent motd snippet. so it cleans up after itself. no crumbs left behind, we love a tidy queen. ✨


✨ OPTIONS ✨

None

literally none. zero. nada. it takes no options and it doesn't need them. the confidence πŸ˜ŒπŸ’…


✨ EXIT STATUS ✨

  • 0 β€” updated MOTD with MythTV status. slay, it worked. πŸŽ‰
  • 1 β€” failed to update MOTD with MythTV status. not slay, something went sideways. 😭

✨ FILES ✨

  • /etc/default/mythtv-status β€” config file πŸ“

✨ SEE ALSO ✨

(yes that trailing comma is in the original and yes we're keeping it. preservation. loyalty. we don't edit the icon's commas.) πŸ¦‹


✨ AUTHOR ✨

mythtv-update-motd and this very manpage were written by Andrew Ruthven <andrew@etc.gen.nz>. shoutout to the author, absolute main character energy πŸ‘‘πŸ’–


and that's the whole page bestie! this one's from 2018-12-31, and it lives in the MYTHTV-UPDATE-MOTD(1) section of the manual. go forth, keep your MOTD updated, and vibe check passed ✨🫢🌸

πŸ“¦ where this page comes from