# Turn on auto suspend
AUTO_SUSPEND='yes'
# Suspend method: one of 'suspend', 'hibernate', 'hybrid-sleep', 'poweroff'
SUSPEND_METHOD='poweroff'
Hier fährt meine NAS komplett runter und wird per WakeOnLan aufgeweckt.
Hat den Vorteil, das du die Treiber nicht be und entladen muss. Dauert das hochfahren paar Sekunden länger,
aber ich spar mir das script für die Treiber. Funktioniert auch wunderbar bei Aufnahmen.
# Turning suspend by day (8 a.m. to 3 a.m.) off
DONT_SUSPEND_BY_DAY='no'
# Automatically reboot once a week when the system isn't in use
REBOOT_ONCE_PER_WEEK='no'
# Daemons that always have one process running, only if more that one process is active we prevent the suspend
# The values are used with grep, so just a unique portion is sufficient
DAEMONS=''
# Important applications that shall prevent the suspend
# The values are used with grep, so just a unique portion is sufficient
APPLICATIONS='^nxagent$ ^rsnapshot$ ^wsus$ ^wget$ ^screen$ ^mlnetp$ ^apt-get$ ^aptitude$ ^dpkg$ ^cp$'
# Network IP range for checking any open samba connections
# The value is used with grep, so just a unique portion is sufficient
SAMBANETWORK=''
# Names or IP for computers that shall prevent the suspend
# We ping these computers in the list to check whether they are active.
CLIENTS='192.168.0.30 192.168.0.31 192.168.0.32'
Hier habe ich meine HTPC´s die im Netzwerk sind eingegeben. Ist einer von diesen aktiv fährt er nicht runter.
Am besten feste IP´S vergeben.
#
# Activation of Tvheadend support. If set to 'yes', Tvheadend status will be
# used to determine if the machine is active. Default: yes
TVHEADEND_ENABLED='yes'
#
# User for access to the Tvheadend REST API
TVHEADEND_USER=autosuspend
DIES IST FÜR DAS AUFNEHMEN WICHTIG!!! Muss in TVHeadend erstellt werden. Siehe Screenshot von mir.
#
# Password for access to the Tvheadend REST API
TVHEADEND_PASSWORD=autosuspend
DIES IST FÜR DAS AUFNEHMEN WICHTIG!!! Muss in TVHeadend erstellt werden. Siehe Screenshot von mir.
#
# IP for access to the Tvheadend REST API. Default: Autodetected from hostname
TVHEADEND_IP=192.168.0.11
NAS bzw. TVHeadend Server.... Hier ist die IP Adresse von meiner NAS auf dem TVH ist-.
#
# TVheadend HTTP port. Default: 9981
TVHEADEND_HTTP_PORT=9981
#
# TVheadend HTSP port. Default: 9982
TVHEADEND_HTSP_PORT=9982
#
# Boot duration of the machine. Used to wake the machine timely before the next
# recording. Default: 180 seconds
TVHEADEND_BOOT_DELAY_SECONDS=180
#
# Autosuspension will be aborted if a recording is upcoming within the given
# duration (unit: minutes). Default: 15 minutes
TVHEADEND_IDLE_MINUTES_BEFORE_RECORDING=15
#
# Consider over-the-air EPG grabbing as an activity that prevents suspend?
# If set to anything other than 'yes', and if the only activity is
# over-the-air EPG grabbing, the machine will be suspended. Default: 'yes'
TVHEADEND_CONSIDER_EPGGRABBING=yes