Author: duncan
Date: Fri Sep 29 21:06:11 2006
New Revision: 8275
Modified:
branches/rel-1-5/freevo/local_conf.py.example
Log:
[ 1567885 ] Extensive wakup/shutdown (nvram) plugin
Added config to local_conf.py all commented because it's already in
freevo_conf.py
Modified: branches/rel-1-5/freevo/local_conf.py.example
==============================================================================
--- branches/rel-1-5/freevo/local_conf.py.example (original)
+++ branches/rel-1-5/freevo/local_conf.py.example Fri Sep 29 21:06:11 2006
@@ -91,6 +91,136 @@
#
# ENABLE_SHUTDOWN_SYS = 0
+# ======================================================================
+# AUTOSHUTDOWN CONFIGURATION
+# ======================================================================
+
+# replace the default shutdown plugin
+#plugin.remove('shutdown')
+#plugin.activate('autoshutdown', level=90)
+
+# activate the timer
+#plugin.activate('autoshutdown.autoshutdowntimer')
+
+
+# -- autoshutdown menu item configuration --
+
+# CONFIRM_SHUTDOWN
+# Set to True to popup dialog boxes for confirmation.
+# this applies to menu items only.
+#AUTOSHUTDOWN_CONFIRM = True
+
+
+# -- autoshutdown timer configuration --
+
+# TIMER_TIMEOUT
+# Set the timeout in minutes after which the system
+# is shutdown. The allowed idle time and the running
+# processes (see below) are evaluated to determine if
+# a shutdown is allowed. Menu navigation in freevo will
+# reset the timer.
+#AUTOSHUTDOWN_TIMER_TIMEOUT=30
+
+
+# -- autoshutdown behaviour configuration --
+
+# PRETEND
+# Set to True to disable the actual shutdown command.
+#AUTOSHUTDOWN_PRETEND = False
+
+# PROCESS_LIST
+# List the processes that will prevent an automatic
+# shutdown. If there are important programs that
+# should not be interrupted, then add them to this
+# list. Set to None if a shutdown is always allowed.
+#AUTOSHUTDOWN_PROCESS_LIST = [
+# 'emerge',
+# 'tvgids',
+# 'transcode',
+# 'cdrecord',
+# 'mplayer',
+# 'top'
+#]
+
+# DEFAULT_WAKEUP_TIME
+# Set the default time at which to wakeup if there
+# are no recordings scheduled. The time is specified
+# in localtime 24 hour format. Set to None to disable
+# default wakeup time.
+#AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = "13:00"
+
+# FORCE_DEFAULT_WAKEUP
+# Set to True to always wakeup at the default wakeup
+# time. Set to False to only wakeup at the default
+# wakeup time when no recordings are scheduled.
+#AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = True
+
+# ALLOWED_IDLE_TIME
+# The number of minutes that may be spent idle until
+# the next scheduled recording or default wakeup. That
+# is, if the gap between "now" and the next recording
+# or default wakeup is less than the allowed idle time
+# then a shutdown is not performed but the system is
+# left running. If the period from now to the next
+# recording or default wakeup is more than the allowed
+# idle time, then the system is shut down and a wakeup
+# is scheduled. Use this to minimize the number of
+# shutdown/boot sequences when many short programs are
+# recorded in a short period of time. Note that this
+# variable is used by both the timer and the menu.
+#AUTOSHUTDOWN_ALLOWED_IDLE_TIME = 45
+
+
+# -- autoshutdown nvram-wakeup configuration --
+
+# The nvram-wakeup utility is used to write the
+# wakeup alarm to the RTC in bios. Read the
+# nvram-wakeup documentation about this topic,
+# a working nvram-wakeup configuration is needed.
+
+# NVRAM_CMD / NVRAM_OPT
+# Path to nvram-wakeup and options. Options can
+# be used to specify a config file.
+#AUTOSHUTDOWN_NVRAM_CMD = "/usr/bin/nvram-wakeup"
+#AUTOSHUTDOWN_NVRAM_OPT = "--syslog"
+
+# WAKEUP_NEEDS_REBOOT
+# Set to True if the bios needs a reboot to catch
+# up with the rtc alarm that nvram-wakeup sets. The
+# boot loader options should be set too. Read the
+# nvram-wakeup documentation about this topic.
+#AUTOSHUTDOWN_BIOS_NEEDS_REBOOT = True
+
+# -- if the bios needs a reboot --
+
+# BOOT_LOADER
+# Set to "GRUB" or "LILO" Only needed if bios needs
+# a reboot to initialize the RTC wakeup call.
+#AUTOSHUTDOWN_BOOT_LOADER = "GRUB"
+
+# REMOUNT_BOOT_CMD / REMOUNT_BOOT_OPT
+# Grub needs to write to /boot/grub/grub.conf. Set
+# the command and options to remount the /boot
+# partition writeable. Set to None if this is not
+# needed.
+#AUTOSHUTDOWN_REMOUNT_BOOT_CMD = "/bin/mount"
+#AUTOSHUTDOWN_REMOUNT_BOOT_OPT = "/boot -o remount,rw"
+
+# GRUB_CMD / GRUB_OPT
+# Grub-set-default command and options that will
+# reboot and poweroff the system.
+#AUTOSHUTDOWN_GRUB_CMD = "/sbin/grub-set-default 0"
+#AUTOSHUTDOWN_GRUB_OPT = "0"
+
+# LILO_CMD / LILO_OPT
+# Lilo command with options that will reboot and
+# poweroff the system.
+#AUTOSHUTDOWN_LILO_CMD = "/sbin/lilo"
+#AUTOSHUTDOWN_LILO_OPT = "-R PowerOff"
+
+# ======================================================================
+# Events
+# ======================================================================
#
# You can add more keybindings by adding them to the correct hash.
# e.g. If you want to send 'contrast -100' to mplayer by pressing the '1' key,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog