Skip to content

sdt/mythtv-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miscellaneous scripts for my MythTV box

checkshutdown

I use checkshutdown --syslog instead of mythshutdown -c to check that all's ready for the backend to shut the machine down.

This script checks for various types of activity before giving the all clear:

* active ssh sessions
* recent apache activity (eg. mythweb)
* sabnzbd downloading
* mythshutdown --status

Inspired by James FitzGibbon's mythcheckshutdown. Thanks James!

I needed to modify my /etc/logrotate.d/apache file to make the apache logfile world-readable. This might not be the best solution.

setwakeuptime

Called by mythbackend to set the ACPI wakeup time.

usage:

MythShutdownNvramCmd sudo sh -c "/usr/local/bin/setwakeuptime $time

Adapted from this page on the MythTV wiki, with the addition of setting the BIOS clock before setting the wakeup alarm.

About

Miscellaneous scripts for my MythTV box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published